mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
doc
vim-patch:8.0.1206: no autocmd for entering or leaving the command line
(commit a4f6cec7a3
)
NA patches:
vim-patch:8.0.0320: warning for unused variable with small build
This commit is contained in:
@@ -174,7 +174,7 @@ function! s:check_terminal() abort
|
|||||||
\ .(empty(kbs_entry) ? '? (not found)' : kdch1_entry))
|
\ .(empty(kbs_entry) ? '? (not found)' : kdch1_entry))
|
||||||
endif
|
endif
|
||||||
for env_var in ['XTERM_VERSION', 'VTE_VERSION', 'TERM_PROGRAM', 'COLORTERM', 'SSH_TTY']
|
for env_var in ['XTERM_VERSION', 'VTE_VERSION', 'TERM_PROGRAM', 'COLORTERM', 'SSH_TTY']
|
||||||
if !exists('$'.env_var)
|
if exists('$'.env_var)
|
||||||
call health#report_info(printf("$%s='%s'", env_var, eval('$'.env_var)))
|
call health#report_info(printf("$%s='%s'", env_var, eval('$'.env_var)))
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
@@ -512,27 +512,27 @@ nvim_parse_expression({expr}, {flags}, {highlight})
|
|||||||
[start_col, end_col)).
|
[start_col, end_col)).
|
||||||
|
|
||||||
Return:~
|
Return:~
|
||||||
AST: top-level dictionary holds keys "error": Dictionary
|
AST: top-level dictionary with these keys: "error":
|
||||||
with error, present only if parser saw some error.
|
Dictionary with error, present only if parser saw some
|
||||||
Contains the following keys: "message": String, error
|
error. Contains the following keys: "message": String,
|
||||||
message in printf format, translated. Must contain exactly
|
error message in printf format, translated. Must contain
|
||||||
one "%.*s". "arg": String, error message argument. "len":
|
exactly one "%.*s". "arg": String, error message argument.
|
||||||
Amount of bytes successfully parsed. With flags equal to
|
"len": Amount of bytes successfully parsed. With flags
|
||||||
"" that should be equal to the length of expr string.
|
equal to "" that should be equal to the length of expr
|
||||||
@note: “Sucessfully parsed” here means “participated in
|
string. @note: “Sucessfully parsed” here means
|
||||||
AST creation”, not “till the first error”. "ast": AST,
|
“participated in AST creation”, not “till the first
|
||||||
either nil or a dictionary with these keys: "type": node
|
error”. "ast": AST, either nil or a dictionary with these
|
||||||
type, one of the value names from ExprASTNodeType
|
keys: "type": node type, one of the value names from
|
||||||
stringified without "kExprNode" prefix. "start": a pair
|
ExprASTNodeType stringified without "kExprNode" prefix.
|
||||||
[line, column] describing where node is “started” where
|
"start": a pair [line, column] describing where node is
|
||||||
"line" is always 0 (will not be 0 if you will be using
|
“started” where "line" is always 0 (will not be 0 if you
|
||||||
nvim_parse_viml() on e.g. ":let", but that is not present
|
will be using nvim_parse_viml() on e.g. ":let", but that
|
||||||
yet). Both elements are Integers. "len": “length” of the
|
is not present yet). Both elements are Integers. "len":
|
||||||
node. This and "start" are there for debugging purposes
|
“length” of the node. This and "start" are there for
|
||||||
primary (debugging parser and providing debug
|
debugging purposes primary (debugging parser and providing
|
||||||
information). "children": a list of nodes described in
|
debug information). "children": a list of nodes described
|
||||||
top/"ast". There always is zero, one or two children, key
|
in top/"ast". There always is zero, one or two children,
|
||||||
will not be present if node has no children. Maximum
|
key will not be present if node has no children. Maximum
|
||||||
number of children may be found in node_maxchildren array.
|
number of children may be found in node_maxchildren array.
|
||||||
Local values (present only for certain nodes): "scope": a
|
Local values (present only for certain nodes): "scope": a
|
||||||
single Integer, specifies scope for "Option" and
|
single Integer, specifies scope for "Option" and
|
||||||
|
@@ -4,9 +4,9 @@
|
|||||||
NVIM REFERENCE MANUAL by Thiago de Arruda
|
NVIM REFERENCE MANUAL by Thiago de Arruda
|
||||||
|
|
||||||
|
|
||||||
Nvim's facilities for async io *channel*
|
Nvim asynchronous IO *channel*
|
||||||
|
|
||||||
Type <M-]> to see the table of contents.
|
Type |gO| to see the table of contents.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
1. Introduction *channel-intro*
|
1. Introduction *channel-intro*
|
||||||
|
@@ -270,9 +270,9 @@ External UIs are expected to implement these common features:
|
|||||||
- Send the "super" key (Windows key, Apple key) as a |<D-| chord.
|
- Send the "super" key (Windows key, Apple key) as a |<D-| chord.
|
||||||
|
|
||||||
Implementation ~
|
Implementation ~
|
||||||
- Options can be monitored for changes by the |OptionSet| autocmd. E.g. if the
|
- UI-related options ('guifont', 'ambiwidth', …) are published in the
|
||||||
user sets the 'guifont' option, this autocmd notifies channel 42: >
|
"option_set" |ui-global| event. The event is triggered when the UI first
|
||||||
autocmd OptionSet guifont call rpcnotify(42, 'option-changed', 'guifont', &guifont)
|
connects to Nvim and whenever an option is changed by the user or a plugin.
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
@@ -70,6 +70,7 @@ Providers
|
|||||||
Ruby plugins |provider-ruby|
|
Ruby plugins |provider-ruby|
|
||||||
Shared data |shada|
|
Shared data |shada|
|
||||||
Embedded terminal |terminal|
|
Embedded terminal |terminal|
|
||||||
|
VimL parser |nvim_parse_expression()|
|
||||||
XDG base directories |xdg|
|
XDG base directories |xdg|
|
||||||
|
|
||||||
USER EXPERIENCE ~
|
USER EXPERIENCE ~
|
||||||
|
@@ -478,7 +478,7 @@ def gen_docs(config):
|
|||||||
docs += '\n\n\n'
|
docs += '\n\n\n'
|
||||||
|
|
||||||
docs = docs.rstrip() + '\n\n'
|
docs = docs.rstrip() + '\n\n'
|
||||||
docs += ' vim:tw=78:ts=8:ft=help:norl:'
|
docs += ' vim:tw=78:ts=8:ft=help:norl:\n'
|
||||||
|
|
||||||
doc_file = os.path.join(base_dir, 'runtime/doc', doc_filename)
|
doc_file = os.path.join(base_dir, 'runtime/doc', doc_filename)
|
||||||
delete_lines_below(doc_file, section_start_token)
|
delete_lines_below(doc_file, section_start_token)
|
||||||
|
@@ -929,7 +929,7 @@ typedef kvec_withinit_t(ExprASTConvStackItem, 16) ExprASTConvStack;
|
|||||||
/// starting column and ending column (latter exclusive:
|
/// starting column and ending column (latter exclusive:
|
||||||
/// one should highlight region [start_col, end_col)).
|
/// one should highlight region [start_col, end_col)).
|
||||||
///
|
///
|
||||||
/// @return AST: top-level dictionary holds keys
|
/// @return AST: top-level dictionary with these keys:
|
||||||
///
|
///
|
||||||
/// "error": Dictionary with error, present only if parser saw some
|
/// "error": Dictionary with error, present only if parser saw some
|
||||||
/// error. Contains the following keys:
|
/// error. Contains the following keys:
|
||||||
|
Reference in New Issue
Block a user