diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 13:50:33 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 13:50:33 +1300 |
commit | 6552de5accb651a5c0436bb77e97cffd93c6a72b (patch) | |
tree | fdc8508cc1bac3a0ce203b4220038d90dcc69c82 /vim/ftplugin/sh.vim | |
parent | Merge branch 'feature/vim-review' into develop (diff) | |
download | dotfiles-6552de5accb651a5c0436bb77e97cffd93c6a72b.tar.gz dotfiles-6552de5accb651a5c0436bb77e97cffd93c6a72b.zip |
Remove null command from b:undo_* variables
I didn't realise that a null command at the front of .e.g '|cmd|cmd2'
printed the current line! Removed that.
Diffstat (limited to 'vim/ftplugin/sh.vim')
-rw-r--r-- | vim/ftplugin/sh.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim index a8c94445..61d2994d 100644 --- a/vim/ftplugin/sh.vim +++ b/vim/ftplugin/sh.vim @@ -46,8 +46,8 @@ nnoremap <buffer> <silent> \ :<C-U>execute b:sh_lint<CR> " Unload this filetype plugin -let b:undo_user_ftplugin = '' - \ . '|setlocal keywordprg<' +let b:undo_user_ftplugin + \ = 'setlocal keywordprg<' \ . '|unlet! b:sh_check b:sh_lint' \ . '|silent! unmap <LocalLeader>c' \ . '|silent! unmap <LocalLeader>l' |