aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/sh.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin/sh.vim')
-rw-r--r--vim/ftplugin/sh.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim
index 179ea56e..a8c94445 100644
--- a/vim/ftplugin/sh.vim
+++ b/vim/ftplugin/sh.vim
@@ -45,6 +45,9 @@ nnoremap <buffer> <silent>
\ <LocalLeader>l
\ :<C-U>execute b:sh_lint<CR>
-" Clear away these extra changes
-let b:undo_user_ftplugin
- \ = 'setlocal keywordprg< | unlet! b:sh_check b:sh_lint'
+" Unload this filetype plugin
+let b:undo_user_ftplugin = ''
+ \ . '|setlocal keywordprg<'
+ \ . '|unlet! b:sh_check b:sh_lint'
+ \ . '|silent! unmap <LocalLeader>c'
+ \ . '|silent! unmap <LocalLeader>l'