mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
parent
d8de4eb685
commit
d9f93e5642
@ -39,7 +39,7 @@ let s:Parser.LINE_BUFFER_MAX_LEN = 100
|
||||
" Create a new Parser instance with the initial state and a target. The target
|
||||
" is a dictionary that will be the `self` of every State method call associated
|
||||
" with the parser, and may contain options normally passed to
|
||||
" `jobstart`(on_stdout/on_stderr will be overriden). Returns the target so it
|
||||
" `jobstart`(on_stdout/on_stderr will be overridden). Returns the target so it
|
||||
" can be called directly as the second argument of `jobstart`:
|
||||
"
|
||||
" call jobstart(prog_argv, vimexpect#Parser(initial_state, {'pty': 1}))
|
||||
|
@ -12495,7 +12495,7 @@ Command-line expressions highlighting *expr-highlight*
|
||||
|
||||
Expressions entered by the user in |i_CTRL-R_=|, |c_CTRL-\_e|, |quote=| are
|
||||
highlighted by the built-in expressions parser. It uses highlight groups
|
||||
described in the table below, which may be overriden by colorschemes.
|
||||
described in the table below, which may be overridden by colorschemes.
|
||||
*hl-NvimInvalid*
|
||||
Besides the "Nvim"-prefixed highlight groups described below, there are
|
||||
"NvimInvalid"-prefixed highlight groups which have the same meaning but
|
||||
|
@ -860,7 +860,7 @@ const char *const east_node_type_tab[] = {
|
||||
///
|
||||
/// @param[in] ch Character to convert.
|
||||
///
|
||||
/// @return Converted string, stored in a static buffer (overriden after each
|
||||
/// @return Converted string, stored in a static buffer (overridden after each
|
||||
/// call).
|
||||
static const char *intchar2str(const int ch)
|
||||
FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
|
@ -533,7 +533,7 @@ describe('API', function()
|
||||
nvim("notify", "hello world", 2, {})
|
||||
end)
|
||||
|
||||
it('can be overriden', function()
|
||||
it('can be overridden', function()
|
||||
command("lua vim.notify = function(...) return 42 end")
|
||||
eq(42, meths.exec_lua("return vim.notify('Hello world')", {}))
|
||||
nvim("notify", "hello world", 4, {})
|
||||
|
Loading…
Reference in New Issue
Block a user