mirror of
https://github.com/neovim/neovim
synced 2025-07-17 01:31:48 +00:00
refactor: sort various Lua tables in src/ alphabetically (#30978)
refactor: sort various Lua tables in src/ alphabetically (#30977)
(cherry picked from commit 42fa3d080e
)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
committed by
GitHub
parent
b286ba419a
commit
fb5a0e28db
@ -72,10 +72,10 @@ return {
|
|||||||
'InsertLeavePre', -- just before leaving Insert mode
|
'InsertLeavePre', -- just before leaving Insert mode
|
||||||
'LspAttach', -- after an LSP client attaches to a buffer
|
'LspAttach', -- after an LSP client attaches to a buffer
|
||||||
'LspDetach', -- after an LSP client detaches from a buffer
|
'LspDetach', -- after an LSP client detaches from a buffer
|
||||||
'LspRequest', -- after an LSP request is started, canceled, or completed
|
|
||||||
'LspNotify', -- after an LSP notice has been sent to the server
|
'LspNotify', -- after an LSP notice has been sent to the server
|
||||||
'LspTokenUpdate', -- after a visible LSP token is updated
|
|
||||||
'LspProgress', -- after a LSP progress update
|
'LspProgress', -- after a LSP progress update
|
||||||
|
'LspRequest', -- after an LSP request is started, canceled, or completed
|
||||||
|
'LspTokenUpdate', -- after a visible LSP token is updated
|
||||||
'MenuPopup', -- just before popup menu is displayed
|
'MenuPopup', -- just before popup menu is displayed
|
||||||
'ModeChanged', -- after changing the mode
|
'ModeChanged', -- after changing the mode
|
||||||
'OptionSet', -- after setting any option
|
'OptionSet', -- after setting any option
|
||||||
@ -159,8 +159,8 @@ return {
|
|||||||
LspAttach = true,
|
LspAttach = true,
|
||||||
LspDetach = true,
|
LspDetach = true,
|
||||||
LspNotify = true,
|
LspNotify = true,
|
||||||
LspRequest = true,
|
|
||||||
LspProgress = true,
|
LspProgress = true,
|
||||||
|
LspRequest = true,
|
||||||
LspTokenUpdate = true,
|
LspTokenUpdate = true,
|
||||||
RecordingEnter = true,
|
RecordingEnter = true,
|
||||||
RecordingLeave = true,
|
RecordingLeave = true,
|
||||||
|
@ -10766,6 +10766,44 @@ M.funcs = {
|
|||||||
params = { { 'expr', 'any' } },
|
params = { { 'expr', 'any' } },
|
||||||
signature = 'srand([{expr}])',
|
signature = 'srand([{expr}])',
|
||||||
},
|
},
|
||||||
|
state = {
|
||||||
|
args = { 0, 1 },
|
||||||
|
base = 1,
|
||||||
|
desc = [=[
|
||||||
|
Return a string which contains characters indicating the
|
||||||
|
current state. Mostly useful in callbacks that want to do
|
||||||
|
work that may not always be safe. Roughly this works like:
|
||||||
|
- callback uses state() to check if work is safe to do.
|
||||||
|
Yes: then do it right away.
|
||||||
|
No: add to work queue and add a |SafeState| autocommand.
|
||||||
|
- When SafeState is triggered and executes your autocommand,
|
||||||
|
check with `state()` if the work can be done now, and if yes
|
||||||
|
remove it from the queue and execute.
|
||||||
|
Remove the autocommand if the queue is now empty.
|
||||||
|
Also see |mode()|.
|
||||||
|
|
||||||
|
When {what} is given only characters in this string will be
|
||||||
|
added. E.g, this checks if the screen has scrolled: >vim
|
||||||
|
if state('s') == ''
|
||||||
|
" screen has not scrolled
|
||||||
|
<
|
||||||
|
These characters indicate the state, generally indicating that
|
||||||
|
something is busy:
|
||||||
|
m halfway a mapping, :normal command, feedkeys() or
|
||||||
|
stuffed command
|
||||||
|
o operator pending, e.g. after |d|
|
||||||
|
a Insert mode autocomplete active
|
||||||
|
x executing an autocommand
|
||||||
|
S not triggering SafeState, e.g. after |f| or a count
|
||||||
|
c callback invoked, including timer (repeats for
|
||||||
|
recursiveness up to "ccc")
|
||||||
|
s screen has scrolled for messages
|
||||||
|
]=],
|
||||||
|
fast = true,
|
||||||
|
name = 'state',
|
||||||
|
params = { { 'what', 'string' } },
|
||||||
|
signature = 'state([{what}])',
|
||||||
|
},
|
||||||
stdioopen = {
|
stdioopen = {
|
||||||
args = 1,
|
args = 1,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -10824,44 +10862,6 @@ M.funcs = {
|
|||||||
returns = 'string|string[]',
|
returns = 'string|string[]',
|
||||||
signature = 'stdpath({what})',
|
signature = 'stdpath({what})',
|
||||||
},
|
},
|
||||||
state = {
|
|
||||||
args = { 0, 1 },
|
|
||||||
base = 1,
|
|
||||||
desc = [=[
|
|
||||||
Return a string which contains characters indicating the
|
|
||||||
current state. Mostly useful in callbacks that want to do
|
|
||||||
work that may not always be safe. Roughly this works like:
|
|
||||||
- callback uses state() to check if work is safe to do.
|
|
||||||
Yes: then do it right away.
|
|
||||||
No: add to work queue and add a |SafeState| autocommand.
|
|
||||||
- When SafeState is triggered and executes your autocommand,
|
|
||||||
check with `state()` if the work can be done now, and if yes
|
|
||||||
remove it from the queue and execute.
|
|
||||||
Remove the autocommand if the queue is now empty.
|
|
||||||
Also see |mode()|.
|
|
||||||
|
|
||||||
When {what} is given only characters in this string will be
|
|
||||||
added. E.g, this checks if the screen has scrolled: >vim
|
|
||||||
if state('s') == ''
|
|
||||||
" screen has not scrolled
|
|
||||||
<
|
|
||||||
These characters indicate the state, generally indicating that
|
|
||||||
something is busy:
|
|
||||||
m halfway a mapping, :normal command, feedkeys() or
|
|
||||||
stuffed command
|
|
||||||
o operator pending, e.g. after |d|
|
|
||||||
a Insert mode autocomplete active
|
|
||||||
x executing an autocommand
|
|
||||||
S not triggering SafeState, e.g. after |f| or a count
|
|
||||||
c callback invoked, including timer (repeats for
|
|
||||||
recursiveness up to "ccc")
|
|
||||||
s screen has scrolled for messages
|
|
||||||
]=],
|
|
||||||
fast = true,
|
|
||||||
name = 'state',
|
|
||||||
params = { { 'what', 'string' } },
|
|
||||||
signature = 'state([{what}])',
|
|
||||||
},
|
|
||||||
str2float = {
|
str2float = {
|
||||||
args = 1,
|
args = 1,
|
||||||
base = 1,
|
base = 1,
|
||||||
|
@ -41,6 +41,15 @@ M.vars = {
|
|||||||
included here, because it will be executed anyway.
|
included here, because it will be executed anyway.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
cmdbang = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
Set like v:cmdarg for a file read/write command. When a "!"
|
||||||
|
was used the value is 1, otherwise it is 0. Note that this
|
||||||
|
can only be used in autocommands. For user commands |<bang>|
|
||||||
|
can be used.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
collate = {
|
collate = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -53,15 +62,6 @@ M.vars = {
|
|||||||
See |multi-lang|.
|
See |multi-lang|.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
cmdbang = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
Set like v:cmdarg for a file read/write command. When a "!"
|
|
||||||
was used the value is 1, otherwise it is 0. Note that this
|
|
||||||
can only be used in autocommands. For user commands |<bang>|
|
|
||||||
can be used.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
completed_item = {
|
completed_item = {
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Dictionary containing the |complete-items| for the most
|
Dictionary containing the |complete-items| for the most
|
||||||
@ -118,15 +118,6 @@ M.vars = {
|
|||||||
VimLeave autocommands will not be executed.
|
VimLeave autocommands will not be executed.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
exiting = {
|
|
||||||
desc = [=[
|
|
||||||
Exit code, or |v:null| before invoking the |VimLeavePre|
|
|
||||||
and |VimLeave| autocmds. See |:q|, |:x| and |:cquit|.
|
|
||||||
Example: >vim
|
|
||||||
:au VimLeave * echo "Exit value is " .. v:exiting
|
|
||||||
<
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
echospace = {
|
echospace = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -242,18 +233,13 @@ M.vars = {
|
|||||||
or |expr7| when used with numeric operators). Read-only.
|
or |expr7| when used with numeric operators). Read-only.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
fcs_reason = {
|
exiting = {
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
desc = [=[
|
||||||
The reason why the |FileChangedShell| event was triggered.
|
Exit code, or |v:null| before invoking the |VimLeavePre|
|
||||||
Can be used in an autocommand to decide what to do and/or what
|
and |VimLeave| autocmds. See |:q|, |:x| and |:cquit|.
|
||||||
to set v:fcs_choice to. Possible values:
|
Example: >vim
|
||||||
deleted file no longer exists
|
:au VimLeave * echo "Exit value is " .. v:exiting
|
||||||
conflict file contents, mode or timestamp was
|
<
|
||||||
changed and buffer is modified
|
|
||||||
changed file contents has changed
|
|
||||||
mode mode of file changed
|
|
||||||
time only file timestamp changed
|
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
fcs_choice = {
|
fcs_choice = {
|
||||||
@ -279,6 +265,20 @@ M.vars = {
|
|||||||
Vim behaves like it is empty, there is no warning message.
|
Vim behaves like it is empty, there is no warning message.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
fcs_reason = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
The reason why the |FileChangedShell| event was triggered.
|
||||||
|
Can be used in an autocommand to decide what to do and/or what
|
||||||
|
to set v:fcs_choice to. Possible values:
|
||||||
|
deleted file no longer exists
|
||||||
|
conflict file contents, mode or timestamp was
|
||||||
|
changed and buffer is modified
|
||||||
|
changed file contents has changed
|
||||||
|
mode mode of file changed
|
||||||
|
time only file timestamp changed
|
||||||
|
]=],
|
||||||
|
},
|
||||||
fname = {
|
fname = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -286,6 +286,13 @@ M.vars = {
|
|||||||
detected. Empty otherwise.
|
detected. Empty otherwise.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
fname_diff = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
The name of the diff (patch) file. Only valid while
|
||||||
|
evaluating 'patchexpr'.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
fname_in = {
|
fname_in = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -297,6 +304,13 @@ M.vars = {
|
|||||||
And set to the swap file name for |SwapExists|.
|
And set to the swap file name for |SwapExists|.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
fname_new = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
The name of the new version of the file. Only valid while
|
||||||
|
evaluating 'diffexpr'.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
fname_out = {
|
fname_out = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -312,20 +326,6 @@ M.vars = {
|
|||||||
file and different from v:fname_in.
|
file and different from v:fname_in.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
fname_new = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
The name of the new version of the file. Only valid while
|
|
||||||
evaluating 'diffexpr'.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
fname_diff = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
The name of the diff (patch) file. Only valid while
|
|
||||||
evaluating 'patchexpr'.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
folddashes = {
|
folddashes = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -334,13 +334,6 @@ M.vars = {
|
|||||||
Read-only in the |sandbox|. |fold-foldtext|
|
Read-only in the |sandbox|. |fold-foldtext|
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
foldlevel = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
Used for 'foldtext': foldlevel of closed fold.
|
|
||||||
Read-only in the |sandbox|. |fold-foldtext|
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
foldend = {
|
foldend = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -348,6 +341,13 @@ M.vars = {
|
|||||||
Read-only in the |sandbox|. |fold-foldtext|
|
Read-only in the |sandbox|. |fold-foldtext|
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
foldlevel = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
Used for 'foldtext': foldlevel of closed fold.
|
||||||
|
Read-only in the |sandbox|. |fold-foldtext|
|
||||||
|
]=],
|
||||||
|
},
|
||||||
foldstart = {
|
foldstart = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -434,6 +434,22 @@ M.vars = {
|
|||||||
2147483647 on all systems.
|
2147483647 on all systems.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
mouse_col = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
Column number for a mouse click obtained with |getchar()|.
|
||||||
|
This is the screen column number, like with |virtcol()|. The
|
||||||
|
value is zero when there was no mouse button click.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
mouse_lnum = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
Line number for a mouse click obtained with |getchar()|.
|
||||||
|
This is the text line number, not the screen line number. The
|
||||||
|
value is zero when there was no mouse button click.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
mouse_win = {
|
mouse_win = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -449,22 +465,6 @@ M.vars = {
|
|||||||
The value is zero when there was no mouse button click.
|
The value is zero when there was no mouse button click.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
mouse_lnum = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
Line number for a mouse click obtained with |getchar()|.
|
|
||||||
This is the text line number, not the screen line number. The
|
|
||||||
value is zero when there was no mouse button click.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
mouse_col = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
Column number for a mouse click obtained with |getchar()|.
|
|
||||||
This is the screen column number, like with |virtcol()|. The
|
|
||||||
value is zero when there was no mouse button click.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
msgpack_types = {
|
msgpack_types = {
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Dictionary containing msgpack types used by |msgpackparse()|
|
Dictionary containing msgpack types used by |msgpackparse()|
|
||||||
@ -515,51 +515,6 @@ M.vars = {
|
|||||||
than String this will cause trouble.
|
than String this will cause trouble.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
option_new = {
|
|
||||||
desc = [=[
|
|
||||||
New value of the option. Valid while executing an |OptionSet|
|
|
||||||
autocommand.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
option_old = {
|
|
||||||
desc = [=[
|
|
||||||
Old value of the option. Valid while executing an |OptionSet|
|
|
||||||
autocommand. Depending on the command used for setting and the
|
|
||||||
kind of option this is either the local old value or the
|
|
||||||
global old value.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
option_oldlocal = {
|
|
||||||
desc = [=[
|
|
||||||
Old local value of the option. Valid while executing an
|
|
||||||
|OptionSet| autocommand.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
option_oldglobal = {
|
|
||||||
desc = [=[
|
|
||||||
Old global value of the option. Valid while executing an
|
|
||||||
|OptionSet| autocommand.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
option_type = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
Scope of the set command. Valid while executing an
|
|
||||||
|OptionSet| autocommand. Can be either "global" or "local"
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
option_command = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
Command used to set the option. Valid while executing an
|
|
||||||
|OptionSet| autocommand.
|
|
||||||
value option was set via ~
|
|
||||||
"setlocal" |:setlocal| or `:let l:xxx`
|
|
||||||
"setglobal" |:setglobal| or `:let g:xxx`
|
|
||||||
"set" |:set| or |:let|
|
|
||||||
"modeline" |modeline|
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
operator = {
|
operator = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -577,6 +532,51 @@ M.vars = {
|
|||||||
Read-only.
|
Read-only.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
option_command = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
Command used to set the option. Valid while executing an
|
||||||
|
|OptionSet| autocommand.
|
||||||
|
value option was set via ~
|
||||||
|
"setlocal" |:setlocal| or `:let l:xxx`
|
||||||
|
"setglobal" |:setglobal| or `:let g:xxx`
|
||||||
|
"set" |:set| or |:let|
|
||||||
|
"modeline" |modeline|
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
option_new = {
|
||||||
|
desc = [=[
|
||||||
|
New value of the option. Valid while executing an |OptionSet|
|
||||||
|
autocommand.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
option_old = {
|
||||||
|
desc = [=[
|
||||||
|
Old value of the option. Valid while executing an |OptionSet|
|
||||||
|
autocommand. Depending on the command used for setting and the
|
||||||
|
kind of option this is either the local old value or the
|
||||||
|
global old value.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
option_oldglobal = {
|
||||||
|
desc = [=[
|
||||||
|
Old global value of the option. Valid while executing an
|
||||||
|
|OptionSet| autocommand.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
option_oldlocal = {
|
||||||
|
desc = [=[
|
||||||
|
Old local value of the option. Valid while executing an
|
||||||
|
|OptionSet| autocommand.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
|
option_type = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
Scope of the set command. Valid while executing an
|
||||||
|
|OptionSet| autocommand. Can be either "global" or "local"
|
||||||
|
]=],
|
||||||
|
},
|
||||||
prevcount = {
|
prevcount = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -640,6 +640,17 @@ M.vars = {
|
|||||||
hit-enter prompt.
|
hit-enter prompt.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
searchforward = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
Search direction: 1 after a forward search, 0 after a
|
||||||
|
backward search. It is reset to forward when directly setting
|
||||||
|
the last search pattern, see |quote/|.
|
||||||
|
Note that the value is restored when returning from a
|
||||||
|
function. |function-search-undo|.
|
||||||
|
Read-write.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
servername = {
|
servername = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -663,17 +674,6 @@ M.vars = {
|
|||||||
Note the contents of $NVIM may change in the future.
|
Note the contents of $NVIM may change in the future.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
searchforward = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
Search direction: 1 after a forward search, 0 after a
|
|
||||||
backward search. It is reset to forward when directly setting
|
|
||||||
the last search pattern, see |quote/|.
|
|
||||||
Note that the value is restored when returning from a
|
|
||||||
function. |function-search-undo|.
|
|
||||||
Read-write.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
shell_error = {
|
shell_error = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -708,14 +708,6 @@ M.vars = {
|
|||||||
<
|
<
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
swapname = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
Name of the swapfile found.
|
|
||||||
Only valid during |SwapExists| event.
|
|
||||||
Read-only.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
swapchoice = {
|
swapchoice = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -742,6 +734,14 @@ M.vars = {
|
|||||||
For ":edit +cmd file" the value is ":cmd\r".
|
For ":edit +cmd file" the value is ":cmd\r".
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
swapname = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
Name of the swapfile found.
|
||||||
|
Only valid during |SwapExists| event.
|
||||||
|
Read-only.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
t_blob = {
|
t_blob = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
tags = { 'v:t_TYPE' },
|
tags = { 'v:t_TYPE' },
|
||||||
@ -775,15 +775,6 @@ M.vars = {
|
|||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = 'Value of |String| type. Read-only. See: |type()|',
|
desc = 'Value of |String| type. Read-only. See: |type()|',
|
||||||
},
|
},
|
||||||
termresponse = {
|
|
||||||
type = 'string',
|
|
||||||
desc = [=[
|
|
||||||
The value of the most recent OSC or DCS control sequence
|
|
||||||
received by Nvim from the terminal. This can be read in a
|
|
||||||
|TermResponse| event handler after querying the terminal using
|
|
||||||
another escape sequence.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
termrequest = {
|
termrequest = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -793,6 +784,15 @@ M.vars = {
|
|||||||
to queries from embedded applications.
|
to queries from embedded applications.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
termresponse = {
|
||||||
|
type = 'string',
|
||||||
|
desc = [=[
|
||||||
|
The value of the most recent OSC or DCS control sequence
|
||||||
|
received by Nvim from the terminal. This can be read in a
|
||||||
|
|TermResponse| event handler after querying the terminal using
|
||||||
|
another escape sequence.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
testing = {
|
testing = {
|
||||||
desc = [=[
|
desc = [=[
|
||||||
Must be set before using `test_garbagecollect_now()`.
|
Must be set before using `test_garbagecollect_now()`.
|
||||||
@ -848,6 +848,13 @@ M.vars = {
|
|||||||
<
|
<
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
|
vim_did_enter = {
|
||||||
|
type = 'integer',
|
||||||
|
desc = [=[
|
||||||
|
0 during startup, 1 just before |VimEnter|.
|
||||||
|
Read-only.
|
||||||
|
]=],
|
||||||
|
},
|
||||||
virtnum = {
|
virtnum = {
|
||||||
type = 'integer',
|
type = 'integer',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
@ -858,13 +865,6 @@ M.vars = {
|
|||||||
Read-only.
|
Read-only.
|
||||||
]=],
|
]=],
|
||||||
},
|
},
|
||||||
vim_did_enter = {
|
|
||||||
type = 'integer',
|
|
||||||
desc = [=[
|
|
||||||
0 during startup, 1 just before |VimEnter|.
|
|
||||||
Read-only.
|
|
||||||
]=],
|
|
||||||
},
|
|
||||||
warningmsg = {
|
warningmsg = {
|
||||||
type = 'string',
|
type = 'string',
|
||||||
desc = [=[
|
desc = [=[
|
||||||
|
Reference in New Issue
Block a user