comparison runtime/ftplugin/mupad.vim @ 12:bdeee1504ac1

updated for version 7.0004
author vimboss
date Fri, 02 Jul 2004 15:38:35 +0000
parents
children 289b19a6f2ed
comparison
equal deleted inserted replaced
11:4424b47a0797 12:bdeee1504ac1
1 " Vim filetype plugin file
2 " Language: MuPAD source files
3 " Maintainer: Dave Silvia <dsilvia@mchsi.com>
4 " Filenames: *.mu
5 " Date: 6/30/2004
6
7 if exists("b:did_ftplugin") | finish | endif
8 let b:did_ftplugin = 1
9
10 " Change the :browse e filter to primarily show MuPAD source files.
11 if has("gui_win32")
12 let b:browsefilter=
13 \ "MuPAD source (*.mu)\t*.mu\n" .
14 \ "All Files (*.*)\t*.*\n"
15 endif
16
17 " matchit.vim not loaded -- don't do anyting below
18 if !exists("loaded_matchit")
19 " echomsg "matchit.vim not loaded -- finishing"
20 finish
21 endif
22
23 " source the AppendMatchGroup function file
24 runtime ftplugin/AppendMatchGroup.vim
25
26 " fill b:match_words for MuPAD
27 call AppendMatchGroup('domain,end_domain')
28 call AppendMatchGroup('proc,begin,end_proc')
29 call AppendMatchGroup('if,then,elif,else,end_if')
30 call AppendMatchGroup('\%(for\|while\|repeat\|case\),of,do,break,next,until,\%(end_for\|end_while\|end_repeat\|end_case\)')