Install vim73
[msysgit/mtrensch.git] / share / vim / vim73 / ftplugin / postscr.vim
blob56f4e249cf1f1903eab405cc09fa438133a9c351
1 " Vim filetype plugin file
2 " Language:     PostScript
3 " Maintainer:   Mike Williams <mrw@eandem.co.uk>
4 " Last Change:  27th June 2002
6 " Only do this when not done yet for this buffer
7 if exists("b:did_ftplugin")
8   finish
9 endif
11 " Don't load another plugin for this buffer
12 let b:did_ftplugin = 1
14 " PS comment formatting
15 setlocal comments=b:%
16 setlocal formatoptions-=t formatoptions+=rol
18 " Define patterns for the matchit macro
19 if !exists("b:match_words")
20   let b:match_ignorecase = 0
21   let b:match_words = '<<:>>,\<begin\>:\<end\>,\<save\>:\<restore\>,\<gsave\>:\<grestore\>'
22 endif
24 set cpo-=C
26 " Define patterns for the browse file filter
27 if has("gui_win32") && !exists("b:browsefilter")
28   let b:browsefilter = "PostScript Files (*.ps)\t*.ps\n" .
29     \ "EPS Files (*.eps)\t*.eps\n" .
30     \ "All Files (*.*)\t*.*\n"
31 endif