1 " Vim filetype plugin file
3 " Maintainer: Dan Sharp <dwsharp at hotmail dot com>
4 " Last Changed: 2003 Sep 29
5 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
7 if exists("b:did_ftplugin") | finish | endif
10 " Make sure the continuation lines below do not cause problems in
15 setlocal commentstring=<!--%s-->
17 if exists("loaded_matchit")
18 let b:match_words = '<!--:-->,<!:>'
21 " Change the :browse e filter to primarily show Java-related files.
23 let b:browsefilter="DTD Files (*.dtd)\t*.dtd\n" .
24 \ "XML Files (*.xml)\t*.xml\n" .
25 \ "All Files (*.*)\t*.*\n"
28 " Undo the stuff we changed.
29 let b:undo_ftplugin = "setlocal commentstring<" .
30 \ " | unlet! b:matchwords b:browsefilter"
32 " Restore the saved compatibility options.