7
|
1 " Vim filetype plugin file
|
|
2 " Language: csc
|
|
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 if exists("loaded_matchit")
|
|
16 let b:match_words=
|
|
17 \ '\<fix\>:\<endfix\>,' .
|
|
18 \ '\<if\>:\<else\%(if\)\=\>:\<endif\>,' .
|
|
19 \ '\<!loopondimensions\>\|\<!looponselected\>:\<!endloop\>'
|
|
20 endif
|
|
21
|
|
22 " Undo the stuff we changed.
|
|
23 let b:undo_ftplugin = "unlet! b:match_words"
|
|
24
|
|
25 " Restore the saved compatibility options.
|
|
26 let &cpo = s:save_cpo
|