Mercurial > vim
annotate runtime/ftplugin/matlab.vim @ 20739:a1b20eb19483 v8.2.0922
patch 8.2.0922: search test fails
Commit: https://github.com/vim/vim/commit/48af321a3382008dc642362d3f54bb6a61ff36e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 17:20:02 2020 +0200
patch 8.2.0922: search test fails
Problem: Search test fails.
Solution: Remove failure tests for calls that no longer fail.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 17:30:03 +0200 |
parents | 03b854983b14 |
children | 11b656e74444 |
rev | line source |
---|---|
626 | 1 " Vim filetype plugin file |
2 " Language: matlab | |
3 " Maintainer: Jake Wasserman <jwasserman at gmail dot com> | |
18186 | 4 " Last Change: 2019 Sep 27 |
6476 | 5 |
6 " Contributors: | |
7 " Charles Campbell | |
626 | 8 |
856 | 9 if exists("b:did_ftplugin") |
10 finish | |
626 | 11 endif |
12 let b:did_ftplugin = 1 | |
13 | |
14 let s:save_cpo = &cpo | |
15 set cpo-=C | |
16 | |
17 if exists("loaded_matchit") | |
6476 | 18 let s:conditionalEnd = '\%(([^()]*\)\@!\<end\>\%([^()]*)\)\@!' |
19 let b:match_words= | |
20 \ '\<\%(if\|switch\|for\|while\)\>:\<\%(elseif\|case\|break\|continue\|else\|otherwise\)\>:'.s:conditionalEnd.','. | |
21 \ '\<function\>:\<return\>:\<endfunction\>' | |
22 unlet s:conditionalEnd | |
626 | 23 endif |
24 | |
25 setlocal suffixesadd=.m | |
26 setlocal suffixes+=.asv | |
18186 | 27 setlocal commentstring=%\ %s |
626 | 28 |
18186 | 29 let b:undo_ftplugin = "setlocal suffixesadd< suffixes< commentstring< " |
626 | 30 \ . "| unlet! b:match_words" |
31 | |
32 let &cpo = s:save_cpo | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
856
diff
changeset
|
33 unlet s:save_cpo |