aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:41:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:41:51 +1300
commitf855ec0a7e76223d318ee4f0924d131643133e78 (patch)
treec16e358fc863cfaaa511d954df54187f9942a4f5 /vim/ftplugin/perl.vim
parentMerge branch 'feature/spelling' into develop (diff)
parentUse consistent/thorough ftplugin/indent unloading (diff)
downloaddotfiles-f855ec0a7e76223d318ee4f0924d131643133e78.tar.gz
dotfiles-f855ec0a7e76223d318ee4f0924d131643133e78.zip
Merge branch 'feature/vim-review' into develop
* feature/vim-review: Use consistent/thorough ftplugin/indent unloading Add clustering for POSIX shell syntax groups Add `kill` as shStatement Add `break`, `continue`, `return` as shStatement Override commands and variables for syntax/sh.vim Disable unwanted shell error syntax for any shell Break a long conditional in vim/ftdetect/sh.vim Rename b:check and b:lint with sh_ prefix Remove overkill defined-and-false check of sh vars Clear b:check/lint in ftdetect/sh.vim b:undo Move ftplugin/sh.vim b:undo def to end of file Use correct undo variable name in ftplugin/sh.vim Remove superfluous augroups around ftdetect defs Use sh.vim local vars not global POSIX hacks
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index 07cf9a1f..7f6eb7fe 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -12,3 +12,9 @@ nnoremap <buffer> <silent>
nnoremap <buffer> <silent>
\ <LocalLeader>t
\ :<C-U>%!perltidy<CR>
+
+" Unload this filetype plugin
+let l:undo_user_ftplugin = ''
+ \ . '|silent! unmap <LocalLeader>c'
+ \ . '|silent! unmap <LocalLeader>l'
+ \ . '|silent! unmap <LocalLeader>t'