comparison runtime/ftplugin/dtd.vim @ 7:3fc0f57ecb91 v7.0001

updated for version 7.0001
author vimboss
date Sun, 13 Jun 2004 20:20:40 +0000
parents
children f4f8014d516e
comparison
equal deleted inserted replaced
6:c2daee826b8f 7:3fc0f57ecb91
1 " Vim filetype plugin file
2 " Language: dtd
3 " Maintainer: Dan Sharp <dwsharp at hotmail dot com>
4 " Last Changed: 2003 Sep 29
5 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
6
7 if exists("b:did_ftplugin") | finish | endif
8 let b:did_ftplugin = 1
9
10 " Make sure the continuation lines below do not cause problems in
11 " compatibility mode.
12 let s:save_cpo = &cpo
13 set cpo-=C
14
15 setlocal commentstring=<!--%s-->
16
17 if exists("loaded_matchit")
18 let b:match_words = '<!--:-->,<!:>'
19 endif
20
21 " Change the :browse e filter to primarily show Java-related files.
22 if has("gui_win32")
23 let b:browsefilter="DTD Files (*.dtd)\t*.dtd\n" .
24 \ "XML Files (*.xml)\t*.xml\n" .
25 \ "All Files (*.*)\t*.*\n"
26 endif
27
28 " Undo the stuff we changed.
29 let b:undo_ftplugin = "setlocal commentstring<" .
30 \ " | unlet! b:matchwords b:browsefilter"
31
32 " Restore the saved compatibility options.
33 let &cpo = s:save_cpo