doc/share/examples/vim/edit-sgml.vim
Nik Clayton 2ee8a10ad2 Sample .vimrc and associated files for editing FDP documentation, and
maintaining structure, and so on.

Submitted by:   Robert Brive <brive@freebsd-fr.org
1999-11-15 19:41:09 +00:00

11 lines
399 B
VimL

" formatting SGML documents
" $FreeBSD$
if !exists("format_fdp_sgml")
let format_fdp_sgml = 1
" correction for highlighting special characters
autocmd BufNewFile,BufRead *.sgml,*.ent,*.html syn match sgmlSpecial "&[^;]*;"
" formatting FreeBSD SGML/Docbook
autocmd BufNewFile,BufRead *.sgml,*.ent set autoindent formatoptions=tcq2l textwidth=70 shiftwidth=2 softtabstop=2 tabstop=8
endif