diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 12:39:21 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 12:44:59 +1300 |
commit | 58dd8c7f1399a33967a839711a91286da1d7966b (patch) | |
tree | 968567d961f463d6ab2b06e00e9ae5e6efc7dc10 /vim | |
parent | Use correct undo variable name in ftplugin/sh.vim (diff) | |
download | dotfiles-58dd8c7f1399a33967a839711a91286da1d7966b.tar.gz dotfiles-58dd8c7f1399a33967a839711a91286da1d7966b.zip |
Move ftplugin/sh.vim b:undo def to end of file
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/sh.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim index 50add09b..f2592e6e 100644 --- a/vim/ftplugin/sh.vim +++ b/vim/ftplugin/sh.vim @@ -18,8 +18,6 @@ endif " Use han(1df) as a man(1) wrapper for Bash files if available if exists('b:is_bash') && executable('han') setlocal keywordprg=han - let b:undo_user_ftplugin - \ = 'setlocal keywordprg<' endif " Map checker based on shell family @@ -45,3 +43,7 @@ endif nnoremap <buffer> <silent> \ <LocalLeader>l \ :<C-U>execute b:lint<CR> + +" Clear away these extra changes +let b:undo_user_ftplugin + \ = 'setlocal keywordprg<' |