annotate runtime/ftplugin/zsh.vim @ 17096:a8e6a8fbe880

Added tag v8.1.1547 for changeset 10e0d7d96cb0ca636c06a17978c82427190626ce
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 19:45:07 +0200
parents 45987b1b77dc
children 847a300aa244
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
11914
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 6823
diff changeset
2 " Language: Zsh shell script
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 6823
diff changeset
3 " Maintainer: Christian Brabandt <cb@256bit.org>
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 6823
diff changeset
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
12968
45987b1b77dc Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
5 " Latest Revision: 2017-11-22
11914
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 6823
diff changeset
6 " License: Vim (see :h license)
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 6823
diff changeset
7 " Repository: https://github.com/chrisbra/vim-zsh
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 if exists("b:did_ftplugin")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12 let b:did_ftplugin = 1
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
14 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
15 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
16
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
17 let b:undo_ftplugin = "setl com< cms< fo<"
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
19 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
20
12968
45987b1b77dc Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
21 let b:match_words = ',\<if\>:\<elif\>:\<else\>:\<fi\>'
2698
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
22 \ . ',\<case\>:^\s*([^)]*):\<esac\>'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
23 \ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
24 let b:match_skip = 's:comment\|string\|heredoc\|subst'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
25
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
26 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
27 unlet s:cpo_save