Work around users overriding ftplugin/html.vim

This commit is contained in:
Tim Pope
2011-12-21 22:45:33 -05:00
parent 5a70519e48
commit fdc0f091c7

View File

@@ -12,6 +12,10 @@ setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s
setlocal formatoptions+=tcqln
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+
let b:undo_ftplugin .= "|setl cms< com< fo<"
if exists('b:undo_ftplugin')
let b:undo_ftplugin .= "|setl cms< com< fo< flp<"
else
let b:undo_ftplugin = "setl cms< com< fo< flp<"
endif
" vim:set sw=2: