diff --git a/README.markdown b/README.markdown index a2bc49d..e772073 100644 --- a/README.markdown +++ b/README.markdown @@ -32,14 +32,12 @@ configure this plugin per file type. For example, to enable litecorrect support in `markdown` and `textile` files, place in your `.vimrc`: ```vim - " standard vim command to enable loading the plugin files - " (and their indent support) for specific file types. - " It may already be in your .vimrc! - filetype plugin indent on + set nocompatible + filetype plugin on " may already be in your .vimrc augroup litecorrect autocmd! - autocmd FileType markdown call litecorrect#init() + autocmd FileType markdown,mkd call litecorrect#init() autocmd FileType textile call litecorrect#init() augroup END ``` diff --git a/autoload/litecorrect.vim b/autoload/litecorrect.vim index b9bec3e..27eaca7 100644 --- a/autoload/litecorrect.vim +++ b/autoload/litecorrect.vim @@ -23,6 +23,8 @@ function! litecorrect#init(...) ia abotu about ia acn can ia adn and + ia anf and + ia ans and ia agian again ia ahppen happen ia ahve have @@ -245,6 +247,7 @@ function! litecorrect#init(...) ia thne then ia thnig thing ia thnigs things + ia thre there ia thsi this ia thsoe those ia thta that @@ -265,7 +268,6 @@ function! litecorrect#init(...) ia tyhe the ia unliek unlike ia useing using - ia usualyl usually ia veyr very ia vrey very ia waht what @@ -292,15 +294,12 @@ function! litecorrect#init(...) ia wokr work ia woudl would ia wouldbe would be - ia writting writing ia wrod word ia wroet wrote ia wtih with ia wuould would ia wya way ia yera year - ia yeras years - ia yersa years ia yoiu you ia youare you are ia ytou you