Mercurial > vim
annotate runtime/ftplugin/zsh.vim @ 5457:59d9ccde8b56
Added tag v7-4-078 for changeset 5c3064feddd7
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 08 Nov 2013 03:15:47 +0100 |
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 |