html support added by tidy

This commit is contained in:
Chiel92 2013-01-20 18:18:31 +01:00
parent ee10009a4a
commit 6613c6917d

View File

@ -3,6 +3,15 @@ if exists("b:did_ftplugin")
endif
let b:did_ftplugin = 1
"Set the formatter name and arguments for this filetype
let s:prgname = "tidy"
let s:arguments = "-q --show-errors 0 --show-warnings 0 --indent auto --indent-spaces 2 --vertical-space yes --tidy-mark no"
"Set the formatprg option, if the formatter is installed
"globally or in the formatters/ folder
call g:FindFormatter(s:prgname, s:arguments)
"Set indenting behaviour to match with the formatter
set expandtab
set tabstop=2
set shiftwidth=2