Merge pull request #13687 from paddor/master

remove trailing tabs
This commit is contained in:
Björn Linse
2021-01-05 07:59:39 +01:00
committed by GitHub
7 changed files with 31 additions and 31 deletions

View File

@@ -1600,7 +1600,7 @@ v:event Dictionary of event data for the current |autocommand|. Valid
regtype Type of register as returned by regtype Type of register as returned by
|getregtype()|. |getregtype()|.
visual Selection is visual (as opposed to, visual Selection is visual (as opposed to,
e.g., via motion). e.g., via motion).
completed_item Current selected complete item on completed_item Current selected complete item on
|CompleteChanged|, Is `{}` when no complete |CompleteChanged|, Is `{}` when no complete
item selected. item selected.
@@ -1783,7 +1783,7 @@ v:msgpack_types Dictionary containing msgpack types used by |msgpackparse()|
of msgpack types, use |is| operator. of msgpack types, use |is| operator.
*v:null* *null-variable* *v:null* *null-variable*
v:null Special value used to put "null" in JSON and NIL in msgpack. v:null Special value used to put "null" in JSON and NIL in msgpack.
See |json_encode()|. This value is converted to "v:null" when See |json_encode()|. This value is converted to "v:null" when
used as a String (e.g. in |expr5| with string concatenation used as a String (e.g. in |expr5| with string concatenation
operator) and to zero when used as a Number (e.g. in |expr5| operator) and to zero when used as a Number (e.g. in |expr5|
@@ -4150,7 +4150,7 @@ function({name} [, {arglist}] [, {dict}])
garbagecollect([{atexit}]) *garbagecollect()* garbagecollect([{atexit}]) *garbagecollect()*
Cleanup unused |Lists| and |Dictionaries| that have circular Cleanup unused |Lists| and |Dictionaries| that have circular
references. references.
There is hardly ever a need to invoke this function, as it is There is hardly ever a need to invoke this function, as it is
automatically done when Vim runs out of memory or is waiting automatically done when Vim runs out of memory or is waiting
for the user to press a key after 'updatetime'. Items without for the user to press a key after 'updatetime'. Items without
@@ -4934,7 +4934,7 @@ getwininfo([{winid}]) *getwininfo()*
quickfix 1 if quickfix or location list window quickfix 1 if quickfix or location list window
terminal 1 if a terminal window terminal 1 if a terminal window
tabnr tab page number tabnr tab page number
topline first displayed buffer line topline first displayed buffer line
variables a reference to the dictionary with variables a reference to the dictionary with
window-local variables window-local variables
width window width width window width
@@ -5074,7 +5074,7 @@ has({feature}) Returns 1 if {feature} is supported, 0 otherwise. The
Vim's compile-time feature-names (prefixed with "+") are not Vim's compile-time feature-names (prefixed with "+") are not
recognized because Nvim is always compiled with all possible recognized because Nvim is always compiled with all possible
features. |feature-compile| features. |feature-compile|
Feature names can be: Feature names can be:
1. Nvim version. For example the "nvim-0.2.1" feature means 1. Nvim version. For example the "nvim-0.2.1" feature means
@@ -5099,7 +5099,7 @@ has({feature}) Returns 1 if {feature} is supported, 0 otherwise. The
ttyin input is a terminal (tty) ttyin input is a terminal (tty)
ttyout output is a terminal (tty) ttyout output is a terminal (tty)
unix Unix system. unix Unix system.
*vim_starting* True during |startup|. *vim_starting* True during |startup|.
win32 Windows system (32 or 64 bit). win32 Windows system (32 or 64 bit).
win64 Windows system (64 bit). win64 Windows system (64 bit).
wsl WSL (Windows Subsystem for Linux) system wsl WSL (Windows Subsystem for Linux) system
@@ -5684,7 +5684,7 @@ json_encode({expr}) *json_encode()*
|msgpack-special-dict|), values with self-referencing |msgpack-special-dict|), values with self-referencing
containers, strings which contain non-UTF-8 characters, containers, strings which contain non-UTF-8 characters,
pseudo-UTF-8 strings which contain codepoints reserved for pseudo-UTF-8 strings which contain codepoints reserved for
surrogate pairs (such strings are not valid UTF-8 strings). surrogate pairs (such strings are not valid UTF-8 strings).
Non-printable characters are converted into "\u1234" escapes Non-printable characters are converted into "\u1234" escapes
or special escapes like "\t", other are dumped as-is. or special escapes like "\t", other are dumped as-is.
@@ -5847,7 +5847,7 @@ map({expr1}, {expr2}) *map()*
{expr1} must be a |List| or a |Dictionary|. {expr1} must be a |List| or a |Dictionary|.
Replace each item in {expr1} with the result of evaluating Replace each item in {expr1} with the result of evaluating
{expr2}. {expr2} must be a |string| or |Funcref|. {expr2}. {expr2} must be a |string| or |Funcref|.
If {expr2} is a |string|, inside {expr2} |v:val| has the value If {expr2} is a |string|, inside {expr2} |v:val| has the value
of the current item. For a |Dictionary| |v:key| has the key of the current item. For a |Dictionary| |v:key| has the key
of the current item and for a |List| |v:key| has the index of of the current item and for a |List| |v:key| has the index of
@@ -6114,8 +6114,8 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
- A list with three numbers, e.g., [23, 11, 3]. As above, but - A list with three numbers, e.g., [23, 11, 3]. As above, but
the third number gives the length of the highlight in bytes. the third number gives the length of the highlight in bytes.
Entries with zero and negative line numbers are silently Entries with zero and negative line numbers are silently
ignored, as well as entries with negative column numbers and ignored, as well as entries with negative column numbers and
lengths. lengths.
The maximum number of positions is 8. The maximum number of positions is 8.
@@ -7608,7 +7608,7 @@ setpos({expr}, {list})
setqflist({list} [, {action}[, {what}]]) *setqflist()* setqflist({list} [, {action}[, {what}]]) *setqflist()*
Create or replace or add to the quickfix list. Create or replace or add to the quickfix list.
When {what} is not present, use the items in {list}. Each When {what} is not present, use the items in {list}. Each
item must be a dictionary. Non-dictionary items in {list} are item must be a dictionary. Non-dictionary items in {list} are
ignored. Each dictionary item can contain the following ignored. Each dictionary item can contain the following
@@ -7649,12 +7649,12 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
'a' The items from {list} are added to the existing 'a' The items from {list} are added to the existing
quickfix list. If there is no existing list, then a quickfix list. If there is no existing list, then a
new list is created. new list is created.
'r' The items from the current quickfix list are replaced 'r' The items from the current quickfix list are replaced
with the items from {list}. This can also be used to with the items from {list}. This can also be used to
clear the list: > clear the list: >
:call setqflist([], 'r') :call setqflist([], 'r')
< <
'f' All the quickfix lists in the quickfix stack are 'f' All the quickfix lists in the quickfix stack are
freed. freed.
@@ -8023,7 +8023,7 @@ sign_place({id}, {group}, {name}, {expr} [, {dict}])
empty string. {group} functions as a namespace for {id}, thus empty string. {group} functions as a namespace for {id}, thus
two groups can use the same IDs. Refer to |sign-identifier| two groups can use the same IDs. Refer to |sign-identifier|
for more information. for more information.
{name} refers to a defined sign. {name} refers to a defined sign.
{expr} refers to a buffer name or number. For the accepted {expr} refers to a buffer name or number. For the accepted
values, see |bufname()|. values, see |bufname()|.
@@ -8803,7 +8803,7 @@ system({cmd} [, {input}]) *system()* *E677*
Note: Use |shellescape()| or |::S| with |expand()| or Note: Use |shellescape()| or |::S| with |expand()| or
|fnamemodify()| to escape special characters in a command |fnamemodify()| to escape special characters in a command
argument. Newlines in {cmd} may cause the command to fail. argument. Newlines in {cmd} may cause the command to fail.
The characters in 'shellquote' and 'shellxquote' may also The characters in 'shellquote' and 'shellxquote' may also
cause trouble. cause trouble.

View File

@@ -2609,7 +2609,7 @@ A jump table for the options with a short description can be found at |Q_op|.
when internal formatting is used. Make sure the cursor is kept in the when internal formatting is used. Make sure the cursor is kept in the
same spot relative to the text then! The |mode()| function will same spot relative to the text then! The |mode()| function will
return "i" or "R" in this situation. return "i" or "R" in this situation.
When the expression evaluates to non-zero Vim will fall back to using When the expression evaluates to non-zero Vim will fall back to using
the internal format mechanism. the internal format mechanism.
@@ -3184,7 +3184,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'inccommand'* *'icm'* *'inccommand'* *'icm'*
'inccommand' 'icm' string (default "") 'inccommand' 'icm' string (default "")
global global
"nosplit": Shows the effects of a command incrementally, as you type. "nosplit": Shows the effects of a command incrementally, as you type.
"split" : Also shows partial off-screen results in a preview window. "split" : Also shows partial off-screen results in a preview window.
@@ -6838,7 +6838,7 @@ A jump table for the options with a short description can be found at |Q_op|.
a built-in |highlight-groups| item to be overridden by {hl} group in a built-in |highlight-groups| item to be overridden by {hl} group in
the window. Only built-in |highlight-groups| are supported, not the window. Only built-in |highlight-groups| are supported, not
syntax highlighting (use |:ownsyntax| for that). syntax highlighting (use |:ownsyntax| for that).
Highlights of vertical separators are determined by the window to the Highlights of vertical separators are determined by the window to the
left of the separator. The 'tabline' highlight of a tabpage is left of the separator. The 'tabline' highlight of a tabpage is
decided by the last-focused window of the tabpage. Highlights of decided by the last-focused window of the tabpage. Highlights of

View File

@@ -180,7 +180,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
Read Ex commands from {file} in each directory given Read Ex commands from {file} in each directory given
by 'runtimepath' and/or 'packpath'. There is no error by 'runtimepath' and/or 'packpath'. There is no error
for non-existing files. for non-existing files.
Example: > Example: >
:runtime syntax/c.vim :runtime syntax/c.vim
@@ -254,7 +254,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
*:packl* *:packloadall* *:packl* *:packloadall*
:packl[oadall][!] Load all packages in the "start" directory under each :packl[oadall][!] Load all packages in the "start" directory under each
entry in 'packpath'. entry in 'packpath'.
First all the directories found are added to First all the directories found are added to
'runtimepath', then the plugins found in the 'runtimepath', then the plugins found in the
directories are sourced. This allows for a plugin to directories are sourced. This allows for a plugin to

View File

@@ -544,7 +544,7 @@ only supported by new versions of ctags (such as Exuberant ctags).
the bar) and ;" is used to have Vi ignore the rest of the the bar) and ;" is used to have Vi ignore the rest of the
line. Example: line. Example:
APP file.c call cursor(3, 4)|;" v APP file.c call cursor(3, 4)|;" v
{field} .. A list of optional fields. Each field has the form: {field} .. A list of optional fields. Each field has the form:
<Tab>{fieldname}:{value} <Tab>{fieldname}:{value}

View File

@@ -170,7 +170,7 @@ the editor.
`mouse_shape`: (To be implemented.) `mouse_shape`: (To be implemented.)
Some keys are missing in some modes. Some keys are missing in some modes.
The following keys are deprecated: The following keys are deprecated:
`hl_id`: Use `attr_id` instead. `hl_id`: Use `attr_id` instead.
@@ -460,7 +460,7 @@ is not active. New UIs should implement |ui-linegrid| instead.
["set_scroll_region", top, bot, left, right] ["set_scroll_region", top, bot, left, right]
Define the scroll region used by `scroll` below. Define the scroll region used by `scroll` below.
Note: ranges are end-inclusive, which is inconsistent with API Note: ranges are end-inclusive, which is inconsistent with API
conventions. conventions.

View File

@@ -46,26 +46,26 @@ CTRL-L Clears and redraws the screen. The redraw may happen
ga Print the ascii value of the character under the ga Print the ascii value of the character under the
cursor in decimal, hexadecimal and octal. cursor in decimal, hexadecimal and octal.
Mnemonic: Get Ascii value. Mnemonic: Get Ascii value.
For example, when the cursor is on a 'R': For example, when the cursor is on a 'R':
<R> 82, Hex 52, Octal 122 ~ <R> 82, Hex 52, Octal 122 ~
When the character is a non-standard ASCII character, When the character is a non-standard ASCII character,
but printable according to the 'isprint' option, the but printable according to the 'isprint' option, the
non-printable version is also given. non-printable version is also given.
When the character is larger than 127, the <M-x> form When the character is larger than 127, the <M-x> form
is also printed. For example: is also printed. For example:
<~A> <M-^A> 129, Hex 81, Octal 201 ~ <~A> <M-^A> 129, Hex 81, Octal 201 ~
<p> <|~> <M-~> 254, Hex fe, Octal 376 ~ <p> <|~> <M-~> 254, Hex fe, Octal 376 ~
(where <p> is a special character) (where <p> is a special character)
The <Nul> character in a file is stored internally as The <Nul> character in a file is stored internally as
<NL>, but it will be shown as: <NL>, but it will be shown as:
<^@> 0, Hex 00, Octal 000 ~ <^@> 0, Hex 00, Octal 000 ~
If the character has composing characters these are If the character has composing characters these are
also shown. The value of 'maxcombine' doesn't matter. also shown. The value of 'maxcombine' doesn't matter.
If the character can be inserted as a digraph, also If the character can be inserted as a digraph, also
output the two characters that can be used to create output the two characters that can be used to create
the character: the character:
@@ -317,11 +317,11 @@ g8 Print the hex values of the bytes used in the
optional. optional.
:redi[r] @{a-z}>> Append messages to register {a-z}. :redi[r] @{a-z}>> Append messages to register {a-z}.
:redi[r] @*> :redi[r] @*>
:redi[r] @+> Redirect messages to the selection or clipboard. For :redi[r] @+> Redirect messages to the selection or clipboard. For
backward compatibility, the ">" after the register backward compatibility, the ">" after the register
name can be omitted. See |quotestar| and |quoteplus|. name can be omitted. See |quotestar| and |quoteplus|.
:redi[r] @*>> :redi[r] @*>>
:redi[r] @+>> Append messages to the selection or clipboard. :redi[r] @+>> Append messages to the selection or clipboard.
:redi[r] @"> Redirect messages to the unnamed register. For :redi[r] @"> Redirect messages to the unnamed register. For

View File

@@ -124,7 +124,7 @@ CTRL-W CTRL-S *CTRL-W_CTRL-S*
:[N]sp[lit] [++opt] [+cmd] [file] *:sp* *:split* :[N]sp[lit] [++opt] [+cmd] [file] *:sp* *:split*
Split current window in two. The result is two viewports on Split current window in two. The result is two viewports on
the same file. the same file.
Make the new window N high (default is to use half the height Make the new window N high (default is to use half the height
of the current window). Reduces the current window height to of the current window). Reduces the current window height to
create room (and others, if the 'equalalways' option is set, create room (and others, if the 'equalalways' option is set,