From 02a368550446f9d2ee959905e0d633dc0f4edc98 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 8 Nov 2017 13:39:30 +1300 Subject: Use consistent/thorough ftplugin/indent unloading Unload all maps too, with silent! in case they don't exist. --- vim/ftplugin/perl.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vim/ftplugin/perl.vim') 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 nnoremap \ t \ :%!perltidy + +" Unload this filetype plugin +let l:undo_user_ftplugin = '' + \ . '|silent! unmap c' + \ . '|silent! unmap l' + \ . '|silent! unmap t' -- cgit v1.2.3