X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vim%2Fafter%2Findent%2Fhtml.vim;h=54b3866ee5d362cf08a51b9543804cc9bee1fed4;hb=HEAD;hp=713a16b48f6280a6b9e255f9b3bfc0f4fe62dd5d;hpb=a2b11898812dbdf484c551a2028ce765ac94914f;p=dotfiles.git diff --git a/.vim/after/indent/html.vim b/.vim/after/indent/html.vim index 713a16b..54b3866 100644 --- a/.vim/after/indent/html.vim +++ b/.vim/after/indent/html.vim @@ -1,3 +1,6 @@ " Don't re-indent lines on right-angle-bracket setlocal indentkeys-=<>> -let b:undo_ftplugin .= '|setlocal indentkeys<' + +if exists('b:undo_ftplugin') + let b:undo_ftplugin .= '|setlocal indentkeys<' +endif