mirror of
https://github.com/preservim/vim-litecorrect.git
synced 2025-11-08 09:53:49 -05:00
favor simpler corrections; misc doc updates
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -23,6 +23,8 @@ function! litecorrect#init(...)
|
||||
ia <buffer> abotu about
|
||||
ia <buffer> acn can
|
||||
ia <buffer> adn and
|
||||
ia <buffer> anf and
|
||||
ia <buffer> ans and
|
||||
ia <buffer> agian again
|
||||
ia <buffer> ahppen happen
|
||||
ia <buffer> ahve have
|
||||
@@ -245,6 +247,7 @@ function! litecorrect#init(...)
|
||||
ia <buffer> thne then
|
||||
ia <buffer> thnig thing
|
||||
ia <buffer> thnigs things
|
||||
ia <buffer> thre there
|
||||
ia <buffer> thsi this
|
||||
ia <buffer> thsoe those
|
||||
ia <buffer> thta that
|
||||
@@ -265,7 +268,6 @@ function! litecorrect#init(...)
|
||||
ia <buffer> tyhe the
|
||||
ia <buffer> unliek unlike
|
||||
ia <buffer> useing using
|
||||
ia <buffer> usualyl usually
|
||||
ia <buffer> veyr very
|
||||
ia <buffer> vrey very
|
||||
ia <buffer> waht what
|
||||
@@ -292,15 +294,12 @@ function! litecorrect#init(...)
|
||||
ia <buffer> wokr work
|
||||
ia <buffer> woudl would
|
||||
ia <buffer> wouldbe would be
|
||||
ia <buffer> writting writing
|
||||
ia <buffer> wrod word
|
||||
ia <buffer> wroet wrote
|
||||
ia <buffer> wtih with
|
||||
ia <buffer> wuould would
|
||||
ia <buffer> wya way
|
||||
ia <buffer> yera year
|
||||
ia <buffer> yeras years
|
||||
ia <buffer> yersa years
|
||||
ia <buffer> yoiu you
|
||||
ia <buffer> youare you are
|
||||
ia <buffer> ytou you
|
||||
|
||||
Reference in New Issue
Block a user