mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
docs: fix typos (#20509)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
parent
730228f6db
commit
eb123b565e
@ -107,7 +107,7 @@ internally and are no longer exposed as part of the API. Instead, use
|
||||
- *vim.lsp.diagnostic.set_virtual_text()*
|
||||
|
||||
LSP FUNCTIONS
|
||||
- *vim.lsp.range_code_action* Use |vim.lsp.buf.code_action()| with
|
||||
- *vim.lsp.buf.range_code_action()* Use |vim.lsp.buf.code_action()| with
|
||||
the `range` parameter.
|
||||
- *vim.lsp.util.diagnostics_to_items()* Use |vim.diagnostic.toqflist()| instead.
|
||||
- *vim.lsp.util.set_qflist()* Use |setqflist()| instead.
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define FC_VIM9 0x400 // defined in vim9 script file
|
||||
#define FC_LUAREF 0x800 // luaref callback
|
||||
|
||||
///< Structure used by trans_function_name()
|
||||
/// Structure used by trans_function_name()
|
||||
typedef struct {
|
||||
dict_T *fd_dict; ///< Dictionary used.
|
||||
char_u *fd_newkey; ///< New key in "dict" in allocated memory.
|
||||
|
@ -199,8 +199,8 @@ EXTERN dict_T vimvardict; // Dictionary with v: variables
|
||||
EXTERN dict_T globvardict; // Dictionary with g: variables
|
||||
/// g: value
|
||||
#define globvarht globvardict.dv_hashtab
|
||||
EXTERN int did_emsg; // set by emsg() when the message
|
||||
// is displayed or thrown
|
||||
EXTERN int did_emsg; // incremented by emsg() when a
|
||||
// message is displayed or thrown
|
||||
EXTERN bool called_vim_beep; // set if vim_beep() is called
|
||||
EXTERN bool did_emsg_syntax; // did_emsg set because of a
|
||||
// syntax error
|
||||
@ -1071,11 +1071,11 @@ EXTERN char windowsVersion[20] INIT(= { 0 });
|
||||
|
||||
EXTERN int exit_need_delay INIT(= 0);
|
||||
|
||||
///< Skip win_fix_cursor() call for 'splitkeep' when cmdwin is closed.
|
||||
/// Skip win_fix_cursor() call for 'splitkeep' when cmdwin is closed.
|
||||
EXTERN bool skip_win_fix_cursor INIT(= false);
|
||||
///< Skip win_fix_scroll() call for 'splitkeep' when closing tab page.
|
||||
/// Skip win_fix_scroll() call for 'splitkeep' when closing tab page.
|
||||
EXTERN bool skip_win_fix_scroll INIT(= false);
|
||||
///< Skip update_topline() call while executing win_fix_scroll().
|
||||
/// Skip update_topline() call while executing win_fix_scroll().
|
||||
EXTERN bool skip_update_topline INIT(= false);
|
||||
|
||||
#endif // NVIM_GLOBALS_H
|
||||
|
@ -215,11 +215,11 @@ static bool compl_interrupted = false;
|
||||
|
||||
static bool compl_restarting = false; ///< don't insert match
|
||||
|
||||
///< When the first completion is done "compl_started" is set. When it's
|
||||
///< false the word to be completed must be located.
|
||||
/// When the first completion is done "compl_started" is set. When it's
|
||||
/// false the word to be completed must be located.
|
||||
static bool compl_started = false;
|
||||
|
||||
///< Which Ctrl-X mode are we in?
|
||||
/// Which Ctrl-X mode are we in?
|
||||
static int ctrl_x_mode = CTRL_X_NORMAL;
|
||||
|
||||
static int compl_matches = 0; ///< number of completion matches
|
||||
|
Loading…
Reference in New Issue
Block a user