aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/html.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:39:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 13:39:30 +1300
commit02a368550446f9d2ee959905e0d633dc0f4edc98 (patch)
tree64f63d44ae28e4f29d1a6c98ba40068a76e429fb /vim/ftplugin/html.vim
parentAdd clustering for POSIX shell syntax groups (diff)
downloaddotfiles-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/html.vim')
-rw-r--r--vim/ftplugin/html.vim6
1 files changed, 6 insertions, 0 deletions
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 <buffer> <silent>
\ <LocalLeader>r
\ :<C-U>call <SID>UrlLink()<CR>
+
+" Unload this filetype plugin
+let b:undo_user_ftplugin = ''
+ \ . '|silent! nunmap <LocalLeader>c'
+ \ . '|silent! nunmap <LocalLeader>t'
+ \ . '|silent! nunmap <LocalLeader>r'