Skip to content

Commit 64d8e25

Browse files
committed
Updated runtime files.
1 parent 6384c5d commit 64d8e25

21 files changed

Lines changed: 106 additions & 79 deletions

runtime/colors/koehler.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" vim: tw=0 ts=4 sw=4
33
" Vim color file
44
" Maintainer: Ron Aaron <[email protected]>
5-
" Last Change: 2013 May 23
5+
" Last Change: 2016 Sep 04
66

77
hi clear
88
set background=dark
@@ -45,6 +45,7 @@ hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white g
4545
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
4646
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
4747
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
48+
hi EndOfBuffer term=bold cterm=bold ctermfg=darkred guifg=#cc0000 gui=bold
4849
hi link IncSearch Visual
4950
hi link String Constant
5051
hi link Character Constant

runtime/doc/autocmd.txt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.4. Last change: 2016 Jul 29
1+
*autocmd.txt* For Vim version 7.4. Last change: 2016 Sep 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -419,8 +419,8 @@ BufUnload Before unloading a buffer. This is when the
419419
NOTE: When this autocommand is executed, the
420420
current buffer "%" may be different from the
421421
buffer being unloaded "<afile>".
422-
Don't change to another buffer, it will cause
423-
problems.
422+
Don't change to another buffer or window, it
423+
will cause problems!
424424
When exiting and v:dying is 2 or more this
425425
event is not triggered.
426426
*BufWinEnter*
@@ -784,7 +784,9 @@ QuickFixCmdPre Before a quickfix command is run (|:make|,
784784
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
785785
|:cfile|, |:cgetfile|, |:caddfile|, |:lfile|,
786786
|:lgetfile|, |:laddfile|, |:helpgrep|,
787-
|:lhelpgrep|).
787+
|:lhelpgrep|, |:cexpr|, |:cgetexpr|,
788+
|:caddexpr|, |:cbuffer|, |:cgetbuffer|,
789+
|:caddbuffer|).
788790
The pattern is matched against the command
789791
being run. When |:grep| is used but 'grepprg'
790792
is set to "internal" it still matches "grep".
@@ -1065,6 +1067,9 @@ Note that for all systems the '/' character is used for path separator (even
10651067
MS-DOS and OS/2). This was done because the backslash is difficult to use
10661068
in a pattern and to make the autocommands portable across different systems.
10671069

1070+
It is possible to use |pattern| items, but they may not work as expected,
1071+
because of the translation done for the above.
1072+
10681073
*autocmd-changes*
10691074
Matching with the pattern is done when an event is triggered. Changing the
10701075
buffer name in one of the autocommands, or even deleting the buffer, does not
@@ -1163,11 +1168,12 @@ name!
11631168
different from existing {event} names, as this
11641169
most likely will not do what you intended.
11651170

1166-
*:augroup-delete* *E367* *W19*
1171+
*:augroup-delete* *E367* *W19* *E936*
11671172
:aug[roup]! {name} Delete the autocmd group {name}. Don't use
11681173
this if there is still an autocommand using
11691174
this group! You will get a warning if doing
1170-
it anyway.
1175+
it anyway. when the group is the current group
1176+
you will get error E936.
11711177

11721178
To enter autocommands for a specific group, use this method:
11731179
1. Select the group with ":augroup {name}".

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2016 Sep 01
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Sep 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -119,7 +119,7 @@ To test for a non-empty string, use empty(): >
119119
*non-zero-arg*
120120
Function arguments often behave slightly different from |TRUE|: If the
121121
argument is present and it evaluates to a non-zero Number, |v:true| or a
122-
non-empty String, then the value is considere to be TRUE.
122+
non-empty String, then the value is considered to be TRUE.
123123
Note that " " and "0" are also non-empty strings, thus cause the mode to be
124124
cleared. A List, Dictionary or Float is not a Number or String, thus
125125
evaluates to FALSE.

runtime/doc/if_pyth.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 7.4. Last change: 2015 Nov 10
1+
*if_pyth.txt* For Vim version 7.4. Last change: 2016 Sep 01
22

33

44
VIM REFERENCE MANUAL by Paul Moore
@@ -56,7 +56,11 @@ Example: >
5656
print 'EAT ME'
5757
EOF
5858
endfunction
59-
<
59+
60+
To see what version of Python you have: >
61+
:python import sys
62+
:python print(sys.version)
63+
6064
Note: Python is very sensitive to the indenting. Make sure the "class" line
6165
and "EOF" do not have any indent.
6266

@@ -745,6 +749,10 @@ The `:py3` and `:python3` commands work similar to `:python`. A simple check
745749
if the `:py3` command is working: >
746750
:py3 print("Hello")
747751
< *:py3file*
752+
To see what version of Python you have: >
753+
:py3 import sys
754+
:py3 print(sys.version)
755+
748756
The `:py3file` command works similar to `:pyfile`.
749757
*:py3do*
750758
The `:py3do` command works similar to `:pydo`.

runtime/doc/if_ruby.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Dec 03
1+
*if_ruby.txt* For Vim version 7.4. Last change: 2016 Sep 01
22

33

44
VIM REFERENCE MANUAL by Shugo Maeda
@@ -205,7 +205,7 @@ MS-Windows ~
205205
You need to install the right version of Ruby for this to work. You can find
206206
the package to download from:
207207
http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
208-
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
208+
Currently that is ruby-1.9.2-p136-i386-mswin32.zip
209209

210210
To use the Ruby interface the Ruby DLL must be in your search path. In a
211211
console window type "path" to see what directories are used. The 'rubydll'

runtime/doc/message.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim version 7.4. Last change: 2016 Jul 16
1+
*message.txt* For Vim version 7.4. Last change: 2016 Sep 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -39,6 +39,7 @@ back.
3939
Note: If the output has been stopped with "q" at the more prompt, it will only
4040
be displayed up to this point.
4141
The previous command output is cleared when another command produces output.
42+
The "g<" output is not redirected.
4243

4344
If you are using translated messages, the first printed line tells who
4445
maintains the messages or the translations. You can use this to contact the

runtime/doc/options.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2016 Aug 27
1+
*options.txt* For Vim version 7.4. Last change: 2016 Sep 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4922,10 +4922,11 @@ A jump table for the options with a short description can be found at |Q_op|.
49224922
global
49234923
Changes the special characters that can be used in search patterns.
49244924
See |pattern|.
4925-
NOTE: To avoid portability problems with using patterns, always keep
4926-
this option at the default "on". Only switch it off when working with
4927-
old Vi scripts. In any other situation write patterns that work when
4928-
'magic' is on. Include "\M" when you want to |/\M|.
4925+
WARNING: Switching this option off most likely breaks plugins! That
4926+
is because many patterns assume it's on and will fail when it's off.
4927+
Only switch it off when working with old Vi scripts. In any other
4928+
situation write patterns that work when 'magic' is on. Include "\M"
4929+
when you want to |/\M|.
49294930

49304931
*'makeef'* *'mef'*
49314932
'makeef' 'mef' string (default: "")

runtime/doc/starting.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 7.4. Last change: 2016 Aug 27
1+
*starting.txt* For Vim version 7.4. Last change: 2016 Sep 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1030,6 +1030,9 @@ If you don't like some of the defaults, you can still source defaults.vim and
10301030
revert individual settings. See the defaults.vim file for hints on how to
10311031
revert each item.
10321032

1033+
If you use a system-wide vimrc and don't want defaults.vim to change settings,
1034+
set the "skip_defaults_vim" variable.
1035+
10331036

10341037
Avoiding trojan horses ~
10351038
*trojan-horse*

runtime/doc/tags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4485,6 +4485,7 @@ E932 eval.txt /*E932*
44854485
E933 eval.txt /*E933*
44864486
E934 sign.txt /*E934*
44874487
E935 eval.txt /*E935*
4488+
E936 autocmd.txt /*E936*
44884489
E94 windows.txt /*E94*
44894490
E95 message.txt /*E95*
44904491
E96 diff.txt /*E96*
@@ -5245,6 +5246,7 @@ cc change.txt /*cc*
52455246
ceil() eval.txt /*ceil()*
52465247
ch.vim syntax.txt /*ch.vim*
52475248
ch_close() eval.txt /*ch_close()*
5249+
ch_close_in() eval.txt /*ch_close_in()*
52485250
ch_evalexpr() eval.txt /*ch_evalexpr()*
52495251
ch_evalraw() eval.txt /*ch_evalraw()*
52505252
ch_getbufnr() eval.txt /*ch_getbufnr()*
@@ -5287,6 +5289,7 @@ changing change.txt /*changing*
52875289
channel channel.txt /*channel*
52885290
channel-callback channel.txt /*channel-callback*
52895291
channel-close channel.txt /*channel-close*
5292+
channel-close-in channel.txt /*channel-close-in*
52905293
channel-commands channel.txt /*channel-commands*
52915294
channel-demo channel.txt /*channel-demo*
52925295
channel-functions usr_41.txt /*channel-functions*

runtime/doc/term.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 7.4. Last change: 2016 Apr 29
1+
*term.txt* For Vim version 7.4. Last change: 2016 Sep 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -426,16 +426,17 @@ Vim has started, the escape sequences may not be recognized anymore.
426426
Vim supports using true colors in the terminal (taken from |highlight-guifg|
427427
and |highlight-guibg|), given that the terminal supports this. To make this
428428
work the 'termguicolors' option needs to be set.
429+
See https://gist.github.com/XVilka/8346728 for a list of terminals that
430+
support true colors.
429431

430432
Sometimes setting 'termguicolors' is not enough and one has to set the |t_8f|
431433
and |t_8b| options explicitly. Default values of these options are
432434
"^[[38;2;%lu;%lu;%lum" and "^[[48;2;%lu;%lu;%lum" respectively, but it is only
433435
set when `$TERM` is `xterm`. Some terminals accept the same sequences, but
434436
with all semicolons replaced by colons (this is actually more compatible, but
435437
less widely supported): >
436-
set t_8f=^[[38:2:%lu:%lu:%lum
437-
set t_8b=^[[48:2:%lu:%lu:%lum
438-
(replace `^[` with real escape)
438+
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
439+
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
439440
440441
These options contain printf strings, with |printf()| (actually, its C
441442
equivalent hence `l` modifier) invoked with the t_ option value and three

0 commit comments

Comments
 (0)