Mercurial > vim
annotate runtime/ftplugin/zsh.vim @ 8019:d685893d852e v7.4.1304
commit https://github.com/vim/vim/commit/7823a3bd2eed6ff9e544d201de96710bd5344aaf
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 11 21:08:32 2016 +0100
patch 7.4.1304
Problem: Function names are difficult to read.
Solution: Rename jsonencode to json_encode, jsondecode to json_decode,
jsencode to js_encode and jsdecode to js_decode.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 11 Feb 2016 21:15:05 +0100 |
parents | 0303182665d5 |
children | 4f7081eb1e26 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
6823 | 2 " Language: Zsh shell script |
3 " Maintainer: Christian Brabandt <cb@256bit.org> | |
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
5 " Latest Revision: 2015-05-29 | |
6 " License: Vim (see :h license) | |
7 " Repository: https://github.com/chrisbra/vim-zsh | |
375 | 8 |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin = 1 | |
13 | |
1698 | 14 let s:cpo_save = &cpo |
15 set cpo&vim | |
16 | |
389 | 17 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 18 |
389 | 19 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql |
1698 | 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 | 28 let &cpo = s:cpo_save |
29 unlet s:cpo_save |