Mercurial > vim
annotate runtime/ftplugin/matlab.vim @ 3410:94601b379f38
Updated runtime files. Add Dutch translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 11 Mar 2012 15:57:40 +0100 |
parents | 8cd729851562 |
children | 11d78e58a487 |
rev | line source |
---|---|
626 | 1 " Vim filetype plugin file |
2 " Language: matlab | |
3 " Maintainer: Jake Wasserman <jwasserman at gmail dot com> | |
4 " Last Changed: 2006 Jan 12 | |
5 | |
856 | 6 if exists("b:did_ftplugin") |
7 finish | |
626 | 8 endif |
9 let b:did_ftplugin = 1 | |
10 | |
11 let s:save_cpo = &cpo | |
12 set cpo-=C | |
13 | |
14 if exists("loaded_matchit") | |
15 let s:conditionalEnd = '\(([^()]*\)\@!\<end\>\([^()]*)\)\@!' | |
856 | 16 let b:match_words = '\<if\>\|\<while\>\|\<for\>\|\<switch\>:' . |
626 | 17 \ s:conditionalEnd . ',\<if\>:\<elseif\>:\<else\>:' . |
18 \ s:conditionalEnd | |
19 endif | |
20 | |
21 setlocal suffixesadd=.m | |
22 setlocal suffixes+=.asv | |
23 | |
24 let b:undo_ftplugin = "setlocal suffixesadd< suffixes< " | |
25 \ . "| unlet! b:match_words" | |
26 | |
27 let &cpo = s:save_cpo | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
856
diff
changeset
|
28 unlet s:save_cpo |