Update vim examples from sgml to xml

Approved by:	bcr (mentor)
This commit is contained in:
Eitan Adler 2012-11-01 19:11:14 +00:00
parent d4bc069675
commit 9e90a2b026
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39905

View file

@ -0,0 +1,11 @@
" formatting XML documents
" $FreeBSD$
if !exists("format_fdp_xml")
let format_fdp_xml = 1
" correction for highlighting special characters
autocmd BufNewFile,BufRead *.xml,*.ent,*.html syn match xmlSpecial "&[^;]*;"
" formatting FreeBSD XML/Docbook
autocmd BufNewFile,BufRead *.xml,*.ent set autoindent formatoptions=tcq2l textwidth=70 shiftwidth=2 softtabstop=2 tabstop=8
endif