Opening with search text does inclusive search
[MacVim.git] / runtime / ftplugin / mupad.vim
blobef3a4fe28f4e9b7e9fd39fb21f684eae6f8d70ec
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
7 if exists("b:did_ftplugin") | finish | endif
8 let b:did_ftplugin = 1
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
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
23 " source the AppendMatchGroup function file
24 runtime ftplugin/AppendMatchGroup.vim
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\)')