mirror of
https://github.com/preservim/vim-litecorrect.git
synced 2025-11-10 02:43:48 -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`:
|
in `markdown` and `textile` files, place in your `.vimrc`:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
" standard vim command to enable loading the plugin files
|
set nocompatible
|
||||||
" (and their indent support) for specific file types.
|
filetype plugin on " may already be in your .vimrc
|
||||||
" It may already be in your .vimrc!
|
|
||||||
filetype plugin indent on
|
|
||||||
|
|
||||||
augroup litecorrect
|
augroup litecorrect
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType markdown call litecorrect#init()
|
autocmd FileType markdown,mkd call litecorrect#init()
|
||||||
autocmd FileType textile call litecorrect#init()
|
autocmd FileType textile call litecorrect#init()
|
||||||
augroup END
|
augroup END
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ function! litecorrect#init(...)
|
|||||||
ia <buffer> abotu about
|
ia <buffer> abotu about
|
||||||
ia <buffer> acn can
|
ia <buffer> acn can
|
||||||
ia <buffer> adn and
|
ia <buffer> adn and
|
||||||
|
ia <buffer> anf and
|
||||||
|
ia <buffer> ans and
|
||||||
ia <buffer> agian again
|
ia <buffer> agian again
|
||||||
ia <buffer> ahppen happen
|
ia <buffer> ahppen happen
|
||||||
ia <buffer> ahve have
|
ia <buffer> ahve have
|
||||||
@@ -245,6 +247,7 @@ function! litecorrect#init(...)
|
|||||||
ia <buffer> thne then
|
ia <buffer> thne then
|
||||||
ia <buffer> thnig thing
|
ia <buffer> thnig thing
|
||||||
ia <buffer> thnigs things
|
ia <buffer> thnigs things
|
||||||
|
ia <buffer> thre there
|
||||||
ia <buffer> thsi this
|
ia <buffer> thsi this
|
||||||
ia <buffer> thsoe those
|
ia <buffer> thsoe those
|
||||||
ia <buffer> thta that
|
ia <buffer> thta that
|
||||||
@@ -265,7 +268,6 @@ function! litecorrect#init(...)
|
|||||||
ia <buffer> tyhe the
|
ia <buffer> tyhe the
|
||||||
ia <buffer> unliek unlike
|
ia <buffer> unliek unlike
|
||||||
ia <buffer> useing using
|
ia <buffer> useing using
|
||||||
ia <buffer> usualyl usually
|
|
||||||
ia <buffer> veyr very
|
ia <buffer> veyr very
|
||||||
ia <buffer> vrey very
|
ia <buffer> vrey very
|
||||||
ia <buffer> waht what
|
ia <buffer> waht what
|
||||||
@@ -292,15 +294,12 @@ function! litecorrect#init(...)
|
|||||||
ia <buffer> wokr work
|
ia <buffer> wokr work
|
||||||
ia <buffer> woudl would
|
ia <buffer> woudl would
|
||||||
ia <buffer> wouldbe would be
|
ia <buffer> wouldbe would be
|
||||||
ia <buffer> writting writing
|
|
||||||
ia <buffer> wrod word
|
ia <buffer> wrod word
|
||||||
ia <buffer> wroet wrote
|
ia <buffer> wroet wrote
|
||||||
ia <buffer> wtih with
|
ia <buffer> wtih with
|
||||||
ia <buffer> wuould would
|
ia <buffer> wuould would
|
||||||
ia <buffer> wya way
|
ia <buffer> wya way
|
||||||
ia <buffer> yera year
|
ia <buffer> yera year
|
||||||
ia <buffer> yeras years
|
|
||||||
ia <buffer> yersa years
|
|
||||||
ia <buffer> yoiu you
|
ia <buffer> yoiu you
|
||||||
ia <buffer> youare you are
|
ia <buffer> youare you are
|
||||||
ia <buffer> ytou you
|
ia <buffer> ytou you
|
||||||
|
|||||||
Reference in New Issue
Block a user