Mercurial > vim
annotate runtime/ftplugin/zsh.vim @ 6797:56a735cff1a0 v7.4.720
patch 7.4.720
Problem: Can't build with Visual Studio 2015.
Solution: Recognize the "version 14" numbers and omit /nodefaultlib when
appropriate. (Paul Moore)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 04 May 2015 16:18:42 +0200 |
parents | b6471224d2af |
children | 0303182665d5 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
2 " Language: Zsh shell script | |
839 | 3 " Maintainer: Nikolai Weibull <now@bitwi.se> |
2698
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
4 " Latest Revision: 2011-01-23 |
375 | 5 |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
1698 | 11 let s:cpo_save = &cpo |
12 set cpo&vim | |
13 | |
389 | 14 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 15 |
389 | 16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql |
1698 | 17 |
2698
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
18 let b:match_words = |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
19 \ &matchpairs |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
20 \ . ',\<if\>:\<elif\>:\<else\>:\<fi\>' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
21 \ . ',\<case\>:^\s*([^)]*):\<esac\>' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
22 \ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
23 let b:match_skip = 's:comment\|string\|heredoc\|subst' |
b6471224d2af
Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
24 |
1698 | 25 let &cpo = s:cpo_save |
26 unlet s:cpo_save |