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/html.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vim/ftplugin/html.vim') diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim index 3db5dcca..27b38424 100644 --- a/vim/ftplugin/html.vim +++ b/vim/ftplugin/html.vim @@ -28,3 +28,9 @@ endfunction nnoremap \ r \ :call UrlLink() + +" Unload this filetype plugin +let b:undo_user_ftplugin = '' + \ . '|silent! nunmap c' + \ . '|silent! nunmap t' + \ . '|silent! nunmap r' -- cgit v1.2.3