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

updated for version 7.0001
author vimboss
date Sun, 13 Jun 2004 20:20:40 +0000
parents
children fca8a9b65afa
comparison
equal deleted inserted replaced
6:c2daee826b8f 7:3fc0f57ecb91
1 " Vim filetype plugin file
2 " Language: InstallShield (ft=ishd)
3 " Maintainer: Johannes Zellner <johannes@zellner.org>
4 " Last Change: Sat, 24 May 2003 11:55:36 CEST
5
6 if exists("b:did_ftplugin") | finish | endif
7 let b:did_ftplugin = 1
8
9 setlocal nocindent
10 setlocal autoindent
11 setlocal foldmethod=syntax
12
13 set cpo-=C
14
15 " matchit support
16 if exists("loaded_matchit")
17 let b:match_ignorecase=0
18 let b:match_words=
19 \ '\%(^\s*\)\@<=\<function\>\s\+[^()]\+\s*(:\%(^\s*\)\@<=\<begin\>\s*$:\%(^\s*\)\@<=\<return\>:\%(^\s*\)\@<=\<end\>\s*;\s*$,' .
20 \ '\%(^\s*\)\@<=\<repeat\>\s*$:\%(^\s*\)\@<=\<until\>\s\+.\{-}\s*;\s*$,' .
21 \ '\%(^\s*\)\@<=\<switch\>\s*(.\{-}):\%(^\s*\)\@<=\<\%(case\|default\)\>:\%(^\s*\)\@<=\<endswitch\>\s*;\s*$,' .
22 \ '\%(^\s*\)\@<=\<while\>\s*(.\{-}):\%(^\s*\)\@<=\<endwhile\>\s*;\s*$,' .
23 \ '\%(^\s*\)\@<=\<for\>.\{-}\<\%(to\|downto\)\>:\%(^\s*\)\@<=\<endfor\>\s*;\s*$,' .
24 \ '\%(^\s*\)\@<=\<if\>\s*(.\{-})\s*then:\%(^\s*\)\@<=\<else\s*if\>\s*([^)]*)\s*then:\%(^\s*\)\@<=\<else\>:\%(^\s*\)\@<=\<endif\>\s*;\s*$'
25 endif
26
27 if has("gui_win32") && !exists("b:browsefilter")
28 let b:browsefilter = "InstallShield Files (*.rul)\t*.rul\n" .
29 \ "All Files (*.*)\t*.*\n"
30 endif