Mercurial > vim
annotate runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim @ 27966:80f398bfc19f v8.2.4508
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line
Commit: https://github.com/vim/vim/commit/330a388e18ad6b64c3574c712db675258b0e9878
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 11:05:57 2022 +0000
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line
Problem: Vim9: cannot assign to a global variable on the command line.
Solution: Allow using :vim9cmd for assignment on the command line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 12:15:04 +0100 |
parents | 9fe2fed9bb4b |
children | 67f31c24291b |
rev | line source |
---|---|
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " When you're writing shell scripts and you are in doubt which test to use, |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " which shell environment variables are defined, what the syntax of the case |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " statement is, and you need to invoke 'man sh'? |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 " Your problems are over now! |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 " |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 " Attached is a Vim script file for turning gvim into a shell script editor. |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 " It may also be used as an example how to use menus in Vim. |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 " |
27634
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
10 " Maintainer: Ada (Haowen) Yu <me@yuhaowen.com> |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
11 " Original author: Lennart Schultz <les@dmi.min.dk> (mail unreachable) |
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 |
27634
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
13 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
14 " <CR> would not be recognized. See ":help 'cpoptions'". |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
15 let s:cpo_save = &cpo |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
16 set cpo&vim |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
17 |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
18 imenu Stmts.for for in <CR>do<CR><CR>done<esc>ki <esc>kk0elli |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
19 imenu Stmts.case case in<CR>) ;;<CR>esac<esc>bki <esc>k0elli |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
20 imenu Stmts.if if <CR>then<CR><CR>fi<esc>ki <esc>kk0elli |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
21 imenu Stmts.if-else if <CR>then<CR><CR>else<CR><CR>fi<esc>ki <esc>kki <esc>kk0elli |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
22 imenu Stmts.elif elif <CR>then<CR><CR><esc>ki <esc>kk0elli |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
23 imenu Stmts.while while do<CR><CR>done<esc>ki <esc>kk0elli |
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 imenu Stmts.break break |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 imenu Stmts.continue continue |
27634
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
26 imenu Stmts.function () {<CR><CR>}<esc>ki <esc>k0i |
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 imenu Stmts.return return |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 imenu Stmts.return-true return 0 |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 imenu Stmts.return-false return 1 |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 imenu Stmts.exit exit |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 imenu Stmts.shift shift |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 imenu Stmts.trap trap |
27634
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
33 imenu Test.existence [ -e ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
34 imenu Test.existence\ -\ file [ -f ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
35 imenu Test.existence\ -\ file\ (not\ empty) [ -s ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
36 imenu Test.existence\ -\ directory [ -d ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
37 imenu Test.existence\ -\ executable [ -x ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
38 imenu Test.existence\ -\ readable [ -r ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
39 imenu Test.existence\ -\ writable [ -w ]<esc>hi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
40 imenu Test.String\ is\ empty [ x = "x$" ]<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
41 imenu Test.String\ is\ not\ empty [ x != "x$" ]<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
42 imenu Test.Strings\ is\ equal [ "" = "" ]<esc>hhhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
43 imenu Test.Strings\ is\ not\ equal [ "" != "" ]<esc>hhhhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
44 imenu Test.Values\ is\ greater\ than [ -gt ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
45 imenu Test.Values\ is\ greater\ equal [ -ge ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
46 imenu Test.Values\ is\ equal [ -eq ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
47 imenu Test.Values\ is\ not\ equal [ -ne ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
48 imenu Test.Values\ is\ less\ than [ -lt ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
49 imenu Test.Values\ is\ less\ equal [ -le ]<esc>hhhhhhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
50 imenu ParmSub.Substitute\ word\ if\ parm\ not\ set ${:-}<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
51 imenu ParmSub.Set\ parm\ to\ word\ if\ not\ set ${:=}<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
52 imenu ParmSub.Substitute\ word\ if\ parm\ set\ else\ nothing ${:+}<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
53 imenu ParmSub.If\ parm\ not\ set\ print\ word\ and\ exit ${:?}<esc>hhi |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
54 imenu SpShVars.Number\ of\ positional\ parameters ${#} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
55 imenu SpShVars.All\ positional\ parameters\ (quoted\ spaces) ${*} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
56 imenu SpShVars.All\ positional\ parameters\ (unquoted\ spaces) ${@} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
57 imenu SpShVars.Flags\ set ${-} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
58 imenu SpShVars.Return\ code\ of\ last\ command ${?} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
59 imenu SpShVars.Process\ number\ of\ this\ shell ${$} |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
60 imenu SpShVars.Process\ number\ of\ last\ background\ command ${!} |
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
61 imenu Environ.HOME ${HOME} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
62 imenu Environ.PATH ${PATH} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
63 imenu Environ.CDPATH ${CDPATH} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
64 imenu Environ.MAIL ${MAIL} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
65 imenu Environ.MAILCHECK ${MAILCHECK} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 imenu Environ.PS1 ${PS1} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 imenu Environ.PS2 ${PS2} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 imenu Environ.IFS ${IFS} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 imenu Environ.SHACCT ${SHACCT} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
70 imenu Environ.SHELL ${SHELL} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 imenu Environ.LC_CTYPE ${LC_CTYPE} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 imenu Environ.LC_MESSAGES ${LC_MESSAGES} |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 imenu Builtins.cd cd |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 imenu Builtins.echo echo |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
75 imenu Builtins.eval eval |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
76 imenu Builtins.exec exec |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
77 imenu Builtins.export export |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 imenu Builtins.getopts getopts |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 imenu Builtins.hash hash |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
80 imenu Builtins.newgrp newgrp |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 imenu Builtins.pwd pwd |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 imenu Builtins.read read |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
83 imenu Builtins.readonly readonly |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
84 imenu Builtins.return return |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
85 imenu Builtins.times times |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 imenu Builtins.type type |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
87 imenu Builtins.umask umask |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
88 imenu Builtins.wait wait |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
89 imenu Set.set set |
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
90 imenu Set.unset unset |
27634
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
91 imenu Set.mark\ modified\ or\ modified\ variables set -a |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
92 imenu Set.exit\ when\ command\ returns\ non-zero\ exit\ code set -e |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
93 imenu Set.Disable\ file\ name\ generation set -f |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
94 imenu Set.remember\ function\ commands set -h |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
95 imenu Set.All\ keyword\ arguments\ are\ placed\ in\ the\ environment set -k |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
96 imenu Set.Read\ commands\ but\ do\ not\ execute\ them set -n |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
97 imenu Set.Exit\ after\ reading\ and\ executing\ one\ command set -t |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
98 imenu Set.Treat\ unset\ variables\ as\ an\ error\ when\ substituting set -u |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
99 imenu Set.Print\ shell\ input\ lines\ as\ they\ are\ read set -v |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
100 imenu Set.Print\ commands\ and\ their\ arguments\ as\ they\ are\ executed set -x |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
101 |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
102 " Restore the previous value of 'cpoptions'. |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
103 let &cpo = s:cpo_save |
9fe2fed9bb4b
Update runtime files. (closes #9741)
Bram Moolenaar <Bram@vim.org>
parents:
8775
diff
changeset
|
104 unlet s:cpo_save |