1
0
forked from aniani/vim

Update runtime files

This commit is contained in:
Bram Moolenaar
2021-11-21 21:13:36 +00:00
parent eea32afdb8
commit 88a4205f1c
19 changed files with 1563 additions and 878 deletions

View File

@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 8.2. Last change: 2021 Oct 04
*autocmd.txt* For Vim version 8.2. Last change: 2021 Nov 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -83,7 +83,7 @@ triggered.
}
Note: The ":autocmd" command can only be followed by another command when the
'|' appears before {cmd}. This works: >
'|' appears where the pattern is expected. This works: >
:augroup mine | au! BufRead | augroup END
But this sees "augroup" as part of the defined command: >
:augroup mine | au! BufRead * | augroup END

View File

@@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.2. Last change: 2021 Nov 14
*eval.txt* For Vim version 8.2. Last change: 2021 Nov 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5919,8 +5919,8 @@ getline({lnum} [, {end}])
digit, |line()| is called to translate the String into a Number.
To get the line under the cursor: >
getline(".")
< When {lnum} is smaller than 1 or bigger than the number of
lines in the buffer, an empty string is returned.
< When {lnum} is a number smaller than 1 or bigger than the
number of lines in the buffer, an empty string is returned.
When {end} is given the result is a |List| where each item is
a line from the current buffer in the range {lnum} to {end},
@@ -8489,15 +8489,18 @@ printf({fmt}, {expr1} ...) *printf()*
field width. If the converted value has fewer bytes
than the field width, it will be padded with spaces on
the left (or right, if the left-adjustment flag has
been given) to fill out the field width.
been given) to fill out the field width. For the S
conversion the count is in cells.
.precision
An optional precision, in the form of a period '.'
followed by an optional digit string. If the digit
string is omitted, the precision is taken as zero.
This gives the minimum number of digits to appear for
d, o, x, and X conversions, or the maximum number of
bytes to be printed from a string for s conversions.
d, o, x, and X conversions, the maximum number of
bytes to be printed from a string for s conversions,
or the maximum number of cells to be printed from a
string for S conversions.
For floating point it is the number of digits after
the decimal point.

View File

@@ -1,4 +1,4 @@
*helphelp.txt* For Vim version 8.2. Last change: 2021 Nov 13
*helphelp.txt* For Vim version 8.2. Last change: 2021 Nov 18
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -323,7 +323,7 @@ Hints for translators:
3. Writing help files *help-writing*
For ease of use, a Vim help file for a plugin should follow the format of the
standard Vim help files, except fot the fist line. If you are writing a new
standard Vim help files, except for the first line. If you are writing a new
help file it's best to copy one of the existing files and use it as a
template.
@@ -336,7 +336,7 @@ remainder of the line, after a Tab, describes the plugin purpose in a short
way. This will show up in the "LOCAL ADDITIONS" section of the main help
file. Check there that it shows up properly: |local-additions|.
If you want to add a version number of last modification date, put it in the
If you want to add a version number or last modification date, put it in the
second line, right aligned.
At the bottom of the help file, place a Vim modeline to set the 'textwidth'

View File

@@ -1,4 +1,4 @@
*map.txt* For Vim version 8.2. Last change: 2021 Nov 15
*map.txt* For Vim version 8.2. Last change: 2021 Nov 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -96,6 +96,9 @@ modes.
Remove the mapping of {lhs} for the modes where the
map command applies. The mapping may remain defined
for other modes where it applies.
It also works when {lhs} matches the {rhs} of a
mapping. This is for when when an abbreviation
applied.
Note: Trailing spaces are included in the {lhs}. This
unmap does NOT work: >
:map @@ foo
@@ -346,6 +349,8 @@ Note:
- For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain,
unmapped keys.
- The command is not echo'ed, no need for <silent>.
- The {rhs} is not subject to abbreviations nor to other mappings, even if the
mapping is recursive.
- In Visual mode you can use `line('v')` and `col('v')` to get one end of the
Visual area, the cursor is at the other end.
- In Select mode, |:map| and |:vmap| command mappings are executed in

View File

@@ -1,4 +1,4 @@
*options.txt* For Vim version 8.2. Last change: 2021 Nov 15
*options.txt* For Vim version 8.2. Last change: 2021 Nov 18
VIM REFERENCE MANUAL by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 8.2. Last change: 2021 Nov 07
*syntax.txt* For Vim version 8.2. Last change: 2021 Nov 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5477,7 +5477,7 @@ For Unix you can use the file ~/.vim/after/syntax/syncolor.vim. Example: >
else
highlight comment ctermfg=green guifg=green
endif
<
*E679*
Do make sure this syncolor.vim script does not use a "syntax on", set the
'background' option or uses a "colorscheme" command, because it results in an
@@ -5490,11 +5490,11 @@ depends on the color scheme file. See |:colorscheme|.
*syntax_cmd*
The "syntax_cmd" variable is set to one of these values when the
syntax/syncolor.vim files are loaded:
"on" ":syntax on" command. Highlight colors are overruled but
"on" `:syntax on` command. Highlight colors are overruled but
links are kept
"enable" ":syntax enable" command. Only define colors for groups that
don't have highlighting yet. Use ":syntax default".
"reset" ":syntax reset" command or loading a color scheme. Define all
"enable" `:syntax enable` command. Only define colors for groups that
don't have highlighting yet. Use `:highlight default` .
"reset" `:syntax reset` command or loading a color scheme. Define all
the colors.
"skip" Don't define colors. Used to skip the default settings when a
syncolor.vim file earlier in 'runtimepath' has already set

View File

@@ -8421,6 +8421,7 @@ operator-variable eval.txt /*operator-variable*
option-backslash options.txt /*option-backslash*
option-list quickref.txt /*option-list*
option-summary options.txt /*option-summary*
option-value-function options.txt /*option-value-function*
option-window options.txt /*option-window*
option_restore() todo.txt /*option_restore()*
option_save() todo.txt /*option_save()*

View File

@@ -1,4 +1,4 @@
*usr_20.txt* For Vim version 8.2. Last change: 2021 Nov 13
*usr_20.txt* For Vim version 8.2. Last change: 2021 Nov 18
VIM USER MANUAL - by Bram Moolenaar
@@ -292,7 +292,7 @@ to newer commands.
There are actually five histories. The ones we will mention here are for ":"
commands and for "/" and "?" search commands. The "/" and "?" commands share
the same history, because they are both search commands. The three other
histories are for expressions, debug more commands and input lines for the
histories are for expressions, debug mode commands and input lines for the
input() function. |cmdline-history|
Suppose you have done a ":set" command, typed ten more colon commands and then

View File

@@ -1,4 +1,4 @@
*visual.txt* For Vim version 8.2. Last change: 2021 May 30
*visual.txt* For Vim version 8.2. Last change: 2021 Nov 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -370,7 +370,8 @@ same amount of text as the last time:
last line the same number of characters as in the last line the last time.
The start of the text is the Cursor position. If the "$" command was used as
one of the last commands to extend the highlighted text, the repeating will
be applied up to the rightmost column of the longest line.
be applied up to the rightmost column of the longest line. Any count passed
to the `.` command is not used.
==============================================================================