annotate runtime/ftplugin/zsh.vim @ 10315:c1cfdf43560c v8.0.0053

commit https://github.com/vim/vim/commit/60ef3e81f4a54d9f7ee617d57021f0811ec8ada5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 29 14:37:56 2016 +0200 patch 8.0.0053 Problem: No test for what 8.0.0047 fixes. Solution: Add a test. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 29 Oct 2016 14:45:04 +0200
parents 0303182665d5
children 4f7081eb1e26
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
6823
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
diff changeset
2 " Language: Zsh shell script
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
diff changeset
3 " Maintainer: Christian Brabandt <cb@256bit.org>
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
diff changeset
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
diff changeset
5 " Latest Revision: 2015-05-29
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
diff changeset
6 " License: Vim (see :h license)
0303182665d5 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2698
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
2698
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
21 let b:match_words =
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
22 \ &matchpairs
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
23 \ . ',\<if\>:\<elif\>:\<else\>:\<fi\>'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
24 \ . ',\<case\>:^\s*([^)]*):\<esac\>'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
25 \ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
26 let b:match_skip = 's:comment\|string\|heredoc\|subst'
b6471224d2af Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
27
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
28 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
29 unlet s:cpo_save