diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 00:14:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 00:14:22 +1300 |
commit | d3b197b7107a692744e82ef90ca539639ebb4a8b (patch) | |
tree | 94ce74a0462fa53017a19163ba3df6ea97f07f20 /vim/plugin/command_typos.vim | |
parent | Merge branch 'feature/vim-plug-maint' into develop (diff) | |
parent | Limit \f mapping to normal mode (diff) | |
download | dotfiles-d3b197b7107a692744e82ef90ca539639ebb4a8b.tar.gz dotfiles-d3b197b7107a692744e82ef90ca539639ebb4a8b.zip |
Merge branch 'feature/vimrc-rev' into develop
* feature/vimrc-rev:
Limit \f mapping to normal mode
Move 'hlsearch' insert-mode suspension into plugin
Separate g:loaded/&cp tests from feat tests
Use :set not :setlocal for 'hlsearch'/'incsearch'
Correct nonexistent 'wildmode' value in Vim config
Document each 'backspace' flag in Vim config
Diffstat (limited to 'vim/plugin/command_typos.vim')
-rw-r--r-- | vim/plugin/command_typos.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/plugin/command_typos.vim b/vim/plugin/command_typos.vim index afc04ed3..6f34c680 100644 --- a/vim/plugin/command_typos.vim +++ b/vim/plugin/command_typos.vim @@ -7,7 +7,10 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_command_typos') || &compatible || !has('user_commands') +if exists('g:loaded_command_typos') || &compatible + finish +endif +if !has('user_commands') finish endif let g:loaded_command_typos = 1 |