aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-15 00:00:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-15 00:00:37 +1200
commit680aec4cc7ca1b951e1ff66dc33553e7d50e73b8 (patch)
tree4834da122a9c5a39ca53ea8886459ed780e822e3
parentMerge branch 'hotfix/v0.2.2' into develop (diff)
downloadvim-spellfile-local-680aec4cc7ca1b951e1ff66dc33553e7d50e73b8.tar.gz
vim-spellfile-local-680aec4cc7ca1b951e1ff66dc33553e7d50e73b8.zip
Remove plugin remaps
Not the best idea to do it here, anyway. Better in vimrc.
-rw-r--r--autoload/spellfile_local.vim13
1 files changed, 0 insertions, 13 deletions
diff --git a/autoload/spellfile_local.vim b/autoload/spellfile_local.vim
index eba7358..b61ef3e 100644
--- a/autoload/spellfile_local.vim
+++ b/autoload/spellfile_local.vim
@@ -73,19 +73,6 @@ function! spellfile_local#() abort
" Set the spellfile path list to the concatenated list
let &spellfile = s:OptionJoin(spellfiles)
- " Remap the internal word list mappings to use the second entry in
- " the new local 'spellfile'
- if get(g:, 'spellfile_local_remap_internal', 1)
- nnoremap <buffer> zG 2zg
- xnoremap <buffer> zG 2zg
- nnoremap <buffer> zW 2zw
- xnoremap <buffer> zW 2zw
- nnoremap <buffer> zuG 2zug
- xnoremap <buffer> zuG 2zug
- nnoremap <buffer> zuW 2zuw
- xnoremap <buffer> zuW 2zuw
- endif
-
endfunction
" Escape a path for use as a valid spelling file name; replace any characters