vim-sneak
vim-sneak copied to clipboard
label-mode (Vim 7.4.791 or older): 'spellfile' not restored
Current vim-sneak and Neovim 0.2.0.
To reproduce:
testrc.vim
:
filetype off
call plug#begin('~/.local/share/nvim/plugged')
Plug 'justinmk/vim-sneak'
call plug#end()
filetype plugin indent on
let g:sneak#label = 1
echo 'test test test' | vim -u testrc.vim -
:set spellfile=.utf-8.add
sst
:set spellfile?
Note it doesn't happen with only one or two "test".
Possibly related to #110.
FWIW this shouldn't happen with Vim 7.4.792 or Nvim 0.2 since https://github.com/justinmk/vim-sneak/commit/c2cbcf789839d6d9f39a55b142479dcbc5a082f9
But it still needs to be fixed for older versions.