diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 13:39:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-08 13:39:30 +1300 |
commit | 02a368550446f9d2ee959905e0d633dc0f4edc98 (patch) | |
tree | 64f63d44ae28e4f29d1a6c98ba40068a76e429fb /vim/ftplugin/perl.vim | |
parent | Add clustering for POSIX shell syntax groups (diff) | |
download | dotfiles-02a368550446f9d2ee959905e0d633dc0f4edc98.tar.gz dotfiles-02a368550446f9d2ee959905e0d633dc0f4edc98.zip |
Use consistent/thorough ftplugin/indent unloading
Unload all maps too, with silent! in case they don't exist.
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r-- | vim/ftplugin/perl.vim | 6 |
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' |