Skip to content

Commit 2e12dd3

Browse files
committed
Updated runtime files.
1 parent 1ad5c5e commit 2e12dd3

9 files changed

Lines changed: 83 additions & 52 deletions

File tree

runtime/doc/eval.txt

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2014 Mar 27
1+
*eval.txt* For Vim version 7.4. Last change: 2014 Apr 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -148,7 +148,7 @@ arguments: >
148148
149149
150150
1.3 Lists ~
151-
*List* *Lists* *E686*
151+
*list* *List* *Lists* *E686*
152152
A List is an ordered sequence of items. An item can be of any type. Items
153153
can be accessed by their index number. Items can be added and removed at any
154154
position in the sequence.
@@ -394,7 +394,7 @@ example, to add up all the numbers in a list: >
394394
395395
396396
1.4 Dictionaries ~
397-
*Dictionaries* *Dictionary*
397+
*dict* *Dictionaries* *Dictionary*
398398
A Dictionary is an associative array: Each entry has a key and a value. The
399399
entry can be located with the key. The entries are stored without a specific
400400
ordering.
@@ -1005,7 +1005,7 @@ function. Example: >
10051005

10061006

10071007

1008-
string *expr-string* *E114*
1008+
string *string* *expr-string* *E114*
10091009
------
10101010
"string" string constant *expr-quote*
10111011

@@ -1144,7 +1144,7 @@ specified by what is prepended:
11441144
|local-variable| l: Local to a function.
11451145
|script-variable| s: Local to a |:source|'ed Vim script.
11461146
|function-argument| a: Function argument (only inside a function).
1147-
|vim-variable| v: Global, predefined by Vim.
1147+
|vim-variable| v: Global, predefined by Vim.
11481148

11491149
The scope name by itself can be used as a |Dictionary|. For example, to
11501150
delete all script-local variables: >
@@ -2720,7 +2720,7 @@ exepath({expr}) *exepath()*
27202720
Note that the current directory is used when {expr} starts
27212721
with "./", which may be a problem for Vim: >
27222722
echo exepath(v:progpath)
2723-
< If {expr} cannot be found in $PATH or is not executable then
2723+
< If {expr} cannot be found in $PATH or is not executable then
27242724
an empty string is returned.
27252725

27262726
*exists()*
@@ -6455,11 +6455,20 @@ There are three types of features:
64556455
Example: >
64566456
:if has("gui_running")
64576457
< *has-patch*
6458-
3. Included patches. First check |v:version| for the version of Vim.
6459-
Then the "patch123" feature means that patch 123 has been included for
6460-
this version. Example (checking version 6.2.148 or later): >
6458+
3. Included patches. The "patch123" feature means that patch 123 has been
6459+
included. Note that this form does not check the version of Vim, you need
6460+
to inspect |v:version| for that.
6461+
Example (checking version 6.2.148 or later): >
64616462
:if v:version > 602 || v:version == 602 && has("patch148")
6462-
< Note that it's possible for patch 147 to be omitted even though 148 is
6463+
< Note that it's possible for patch 147 to be omitted even though 148 is
6464+
included.
6465+
6466+
4. Beyond a certain version or at a certain version and including a specific
6467+
patch. The "patch-7.4.123" feature means that the Vim version is 7.5 or
6468+
later, or it is version 7.4 and patch 123 was included.
6469+
The example above can be simplified to: >
6470+
:if has("patch-6.2.148")
6471+
< Note that it's possible for patch 147 to be omitted even though 148 is
64636472
included.
64646473

64656474
acl Compiled with |ACL| support.
@@ -7402,6 +7411,8 @@ This does NOT work: >
74027411
{pattern}, so long as it does not have a special
74037412
meaning (e.g., '|' or '"') and doesn't occur inside
74047413
{pattern}.
7414+
Information about the exception is available in
7415+
|v:exception|. Also see |throw-variables|.
74057416
NOTE: It is not reliable to ":catch" the TEXT of
74067417
an error message because it may vary in different
74077418
locales.

runtime/doc/recover.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*recover.txt* For Vim version 7.4. Last change: 2014 Mar 25
1+
*recover.txt* For Vim version 7.4. Last change: 2014 Mar 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -84,7 +84,7 @@ created anyway.
8484
The 'swapfile' option can be reset to avoid creating a swapfile. And the
8585
|:noswapfile| modifier can be used to not create a swapfile for a new buffer.
8686

87-
:noswap[file] {command} *:nos* *:noswapfile*
87+
:nos[wapfile] {command} *:nos* *:noswapfile*
8888
Execute {command}. If it contains a command that loads a new
8989
buffer, it will be loaded without creating a swapfile and the
9090
'swapfile' option will be reset. If a buffer already had a

runtime/doc/starting.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 7.4. Last change: 2013 Jul 20
1+
*starting.txt* For Vim version 7.4. Last change: 2014 Mar 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1276,8 +1276,10 @@ triggered.
12761276
When [!] is included an existing file is overwritten.
12771277
When [file] is omitted or is a number from 1 to 9, a
12781278
name is generated and 'viewdir' prepended. When the
1279-
last directory name in 'viewdir' does not exist, this
1280-
directory is created.
1279+
last path part of 'viewdir' does not exist, this
1280+
directory is created. E.g., when 'viewdir' is
1281+
"$VIM/vimfiles/view" then "view" is created in
1282+
"$VIM/vimfiles".
12811283
An existing file is always overwritten then. Use
12821284
|:loadview| to load this view again.
12831285
When [file] is the name of a file ('viewdir' is not

runtime/doc/syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.4. Last change: 2014 Feb 25
1+
*syntax.txt* For Vim version 7.4. Last change: 2014 Apr 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1959,7 +1959,7 @@ If you don't want to set the variable, use the modeline in EVERY LPC file.
19591959
There are several implementations for LPC, we intend to support most widely
19601960
used ones. Here the default LPC syntax is for MudOS series, for MudOS v22
19611961
and before, you should turn off the sensible modifiers, and this will also
1962-
asserts the new efuns after v22 to be invalid, don't set this variable when
1962+
assert the new efuns after v22 to be invalid, don't set this variable when
19631963
you are using the latest version of MudOS: >
19641964
19651965
:let lpc_pre_v22 = 1

runtime/doc/tags

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4311,6 +4311,7 @@ E88 windows.txt /*E88*
43114311
E880 if_pyth.txt /*E880*
43124312
E881 autocmd.txt /*E881*
43134313
E882 eval.txt /*E882*
4314+
E883 eval.txt /*E883*
43144315
E89 message.txt /*E89*
43154316
E90 message.txt /*E90*
43164317
E91 options.txt /*E91*
@@ -5368,6 +5369,7 @@ diW motion.txt /*diW*
53685369
dialog gui_w32.txt /*dialog*
53695370
dialogs-added version5.txt /*dialogs-added*
53705371
dib motion.txt /*dib*
5372+
dict eval.txt /*dict*
53715373
dict-functions usr_41.txt /*dict-functions*
53725374
dict-identity eval.txt /*dict-identity*
53735375
dict-modification eval.txt /*dict-modification*
@@ -5512,6 +5514,7 @@ exclusive motion.txt /*exclusive*
55125514
exclusive-linewise motion.txt /*exclusive-linewise*
55135515
executable() eval.txt /*executable()*
55145516
execute-menus gui.txt /*execute-menus*
5517+
exepath() eval.txt /*exepath()*
55155518
exim starting.txt /*exim*
55165519
exists() eval.txt /*exists()*
55175520
exp() eval.txt /*exp()*
@@ -6696,6 +6699,7 @@ linewise-register change.txt /*linewise-register*
66966699
linewise-visual visual.txt /*linewise-visual*
66976700
lisp.vim syntax.txt /*lisp.vim*
66986701
lispindent() eval.txt /*lispindent()*
6702+
list eval.txt /*list*
66996703
list-functions usr_41.txt /*list-functions*
67006704
list-identity eval.txt /*list-identity*
67016705
list-index eval.txt /*list-index*
@@ -7413,6 +7417,7 @@ profile repeat.txt /*profile*
74137417
profiling repeat.txt /*profiling*
74147418
profiling-variable eval.txt /*profiling-variable*
74157419
progname-variable eval.txt /*progname-variable*
7420+
progpath-variable eval.txt /*progpath-variable*
74167421
progress.vim syntax.txt /*progress.vim*
74177422
pronounce intro.txt /*pronounce*
74187423
psql ft_sql.txt /*psql*
@@ -7913,6 +7918,7 @@ strcspn() eval.txt /*strcspn()*
79137918
strdisplaywidth() eval.txt /*strdisplaywidth()*
79147919
strftime() eval.txt /*strftime()*
79157920
stridx() eval.txt /*stridx()*
7921+
string eval.txt /*string*
79167922
string() eval.txt /*string()*
79177923
string-functions usr_41.txt /*string-functions*
79187924
string-match eval.txt /*string-match*
@@ -7977,6 +7983,7 @@ sysmouse term.txt /*sysmouse*
79777983
system() eval.txt /*system()*
79787984
system-functions usr_41.txt /*system-functions*
79797985
system-vimrc starting.txt /*system-vimrc*
7986+
systemlist() eval.txt /*systemlist()*
79807987
s~ change.txt /*s~*
79817988
t motion.txt /*t*
79827989
t: eval.txt /*t:*
@@ -8420,6 +8427,7 @@ v:operator eval.txt /*v:operator*
84208427
v:prevcount eval.txt /*v:prevcount*
84218428
v:profiling eval.txt /*v:profiling*
84228429
v:progname eval.txt /*v:progname*
8430+
v:progpath eval.txt /*v:progpath*
84238431
v:register eval.txt /*v:register*
84248432
v:scrollstart eval.txt /*v:scrollstart*
84258433
v:searchforward eval.txt /*v:searchforward*

runtime/doc/todo.txt

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2014 Mar 27
1+
*todo.txt* For Vim version 7.4. Last change: 2014 Apr 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,6 +35,8 @@ not be repeated below, unless there is extra information.
3535
-------------------- Known bugs and current work -----------------------
3636

3737
Regexp problems:
38+
- Crash when using cpp syntax file with raw string. (Havard Garnes)
39+
Edit "~/tmp/test.cc" and source "~/tmp/cpp.vim".
3840
- NFA regexp doesn't count tab matches correctly. (Urtica Dioica / gaultheria
3941
Shallon, 2013 Nov 18)
4042
- After patch 7.4.100 there is still a difference between NFA and old engine.
@@ -70,6 +72,10 @@ Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
7072

7173
Using autoconf 2.69 gives a lot of warnings.
7274

75+
Spell files use a latin single quote. Unicode also has another single quote.
76+
Adjust spell file scripts to duplicate words to support both quotes.
77+
(Ron Aaron, 2014 Apr 4)
78+
7379
Problem with 'spellsuggest' file, only works for some words.
7480
(Cesar Romani, 2013 Aug 20) Depends on file name? (Aug 24)
7581
Additional remark by glts: the suggested words are marked bad?
@@ -81,27 +87,20 @@ Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
8187
Syntax file for gnuplot. Existing one is very old. (Andrew Rasmussen, 2014
8288
Feb 24)
8389

84-
Crash with ":%s/\n//g" on long file. (Aidan Marlin, 2014 Jan 15)
85-
Christian Brabandt: patch to run this into a join. (2014 Jan 18)
86-
Suggestion to not save replaced line for undo: Yukihiro Nakadaira, 2014 Jan
87-
25.
88-
8990
Add digraph for Rouble: =P. What's the Unicode?
9091

91-
Bug: "!ls %" expands parenthesis in %, but not spaces. So this doesn't work
92-
either: ':!ls "%"'.
93-
Patch by Gary Johnson, 2014 Mar 6.
94-
9592
Issue 174: Detect Mason files.
9693

9794
No error for missing endwhile. (ZyX, 2014 Mar 20)
9895

99-
Patch to add v:progpath. (Viktor Kojouharov, 2014 Mar 15)
100-
10196
Phpcomplete.vim update. (Complex, 2014 Jan 15)
10297

10398
PHP syntax is extremely slow. (Anhad Jai Singh, 2014 Jan 19)
10499

100+
Win32: use different args for SearchPath()? (Yasuhiro Matsumoto, 2009 Jan 30)
101+
Also fixes wrong result from executable().
102+
Update from Ken Takata, 2014 Jan 10. Newer 2014 Apr 3.
103+
105104
Can we make ":unlet $VAR" use unsetenv() to delete the env var?
106105
What for systems that don't have unsetenv()?
107106

@@ -110,13 +109,9 @@ This does not give an error: (Andre Sihera, 2014 Mar 21)
110109
This neither: (ZyX)
111110
vim -u NONE 1 2 3 -c 'bufdo while 1 | echo 1'
112111

113-
spec ftplugin: patch from Igor Gnatenko, 2014 Jan 26.
114-
Include if maintainers don't respond.
115-
116-
Patch to make has() check for Vim version and patch at the same time.
117-
(Marc Weber, 2013 Jun 7)
118-
119-
Regression on pach 7.4.034. (Ingo Karkat, 2013 Nov 20)
112+
'viewdir' default on MS-Windows is not a good choice, it's a system directory.
113+
Change 'viewdir' to "$HOME/vimfiles/view" and use 'viewdiralt' to also read
114+
from?
120115

121116
Include a plugin manager with Vim? Neobundle seems to be the best currently.
122117
Long message about this from ZyX, 2014 Mar 23. And following replies.
@@ -152,17 +147,18 @@ Out of scope:
152147
- Development work on plugins (although diff with distributed version would be
153148
useful).
154149

155-
Patch to include smack support (Linux security library). (Jose Bollo, 2014 Jan
156-
14) Update Jan 15.
150+
Setting the spell file in a session only reads the local additions, not the
151+
normal spell file. (Enno Nagel, 2014 Mar 29)
157152

158-
Tag list, as used for :tjump, does not unescape regexp. (Gary Johnson, 2014 Jan
159-
6) With patch in another message.
153+
Editing an ascii file as ucs-2 or ucs-4 causes display errors.
154+
(ZyX, 2014 Mar 30)
155+
156+
":Next 1 some-arg" does not complain about trailing argument. Also for
157+
various other commands. (ZyX, 2014 Mar 30)
160158

161159
VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
162160
instead. (Samuel Ferencik, 2013 Sep 28)
163161

164-
Series of patches for NL vs NUL handling. (ZyX, 2013 Nov 3, Nov 9)
165-
166162
Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
167163

168164
Patch to add flag to shortmess to avoid giving completion messages.
@@ -258,10 +254,6 @@ GTK: problem with 'L' in 'guioptions' changing the window width.
258254
Patch to add option that tells whether small deletes go into the numbered
259255
registers. (Aryeh Leib Taurog, 2013 Nov 18)
260256

261-
Win32: use different args for SearchPath()? (Yasuhiro Matsumoto, 2009 Jan 30)
262-
Also fixes wrong result from executable().
263-
Update from Ken Takata, 2014 Jan 10.
264-
265257
Javascript file where indent gets stuck on: GalaxyMaster, 2012 May 3.
266258

267259
The BufUnload event is triggered when re-using the empty buffer.

runtime/doc/usr_41.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim version 7.4. Last change: 2014 Jan 10
1+
*usr_41.txt* For Vim version 7.4. Last change: 2014 Apr 05
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -742,6 +742,7 @@ System functions and manipulation of files:
742742
pathshorten() shorten directory names in a path
743743
simplify() simplify a path without changing its meaning
744744
executable() check if an executable program exists
745+
exepath() full path of an executable program
745746
filereadable() check if a file can be read
746747
filewritable() check if a file can be written to
747748
getfperm() get the permissions of a file
@@ -754,7 +755,8 @@ System functions and manipulation of files:
754755
mkdir() create a new directory
755756
delete() delete a file
756757
rename() rename a file
757-
system() get the result of a shell command
758+
system() get the result of a shell command as a string
759+
systemlist() get the result of a shell command as a list
758760
hostname() name of the system
759761
readfile() read a file into a List of lines
760762
writefile() write a List of lines into a file

runtime/doc/various.txt

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim version 7.4. Last change: 2014 Mar 23
1+
*various.txt* For Vim version 7.4. Last change: 2014 Apr 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -234,25 +234,41 @@ g8 Print the hex values of the bytes used in the
234234
*:!cmd* *:!* *E34*
235235
:!{cmd} Execute {cmd} with the shell. See also the 'shell'
236236
and 'shelltype' option.
237+
237238
Any '!' in {cmd} is replaced with the previous
238239
external command (see also 'cpoptions'). But not when
239240
there is a backslash before the '!', then that
240241
backslash is removed. Example: ":!ls" followed by
241242
":!echo ! \! \\!" executes "echo ls ! \!".
242-
After the command has been executed, the timestamp of
243-
the current file is checked |timestamp|.
243+
244244
A '|' in {cmd} is passed to the shell, you cannot use
245245
it to append a Vim command. See |:bar|.
246+
247+
If {cmd} contains "%" it is expanded to the current
248+
file name. Special characters are not escaped, use
249+
quotes to avoid their special meaning: >
250+
:!ls "%"
251+
< If the file name contains a "$" single quotes might
252+
work better (but a single quote causes trouble): >
253+
:!ls '%'
254+
< This should always work, but it's more typing: >
255+
:exe "!ls " . shellescape(expand("%"))
256+
<
246257
A newline character ends {cmd}, what follows is
247258
interpreted as a following ":" command. However, if
248259
there is a backslash before the newline it is removed
249260
and {cmd} continues. It doesn't matter how many
250261
backslashes are before the newline, only one is
251262
removed.
263+
252264
On Unix the command normally runs in a non-interactive
253265
shell. If you want an interactive shell to be used
254266
(to use aliases) set 'shellcmdflag' to "-ic".
255267
For Win32 also see |:!start|.
268+
269+
After the command has been executed, the timestamp of
270+
the current file is checked |timestamp|.
271+
256272
Vim redraws the screen after the command is finished,
257273
because it may have printed any text. This requires a
258274
hit-enter prompt, so that you can read any messages.

runtime/optwin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" These commands create the option window.
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2013 Jun 29
4+
" Last Change: 2014 Apr 01
55

66
" If there already is an option window, jump to that one.
77
if bufwinnr("option-window") > 0

0 commit comments

Comments
 (0)