diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-06-04 05:56:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 11:56:36 +0800 |
commit | ff20d40321399fa187bd350f9619cf6418d7eb6e (patch) | |
tree | 7b216dffabe674e778f5a72a41d128f416df2591 /runtime | |
parent | 86cc33a46412081779b8e6d147c76a2d4d0d7f0f (diff) | |
download | rneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.tar.gz rneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.tar.bz2 rneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.zip |
docs: fix typos (#18269)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Dan Sully <dan+github@sully.org>
Co-authored-by: saher <msaher.shair@gmail.com>
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
Co-authored-by: Benedikt Müller <d12bb@posteo.de>
Co-authored-by: Andrey Mishchenko <mishchea@gmail.com>
Co-authored-by: Famiu Haque <famiuhaque@protonmail.com>
Co-authored-by: Oliver Marriott <hello@omarriott.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 3 | ||||
-rw-r--r-- | runtime/doc/lsp.txt | 2 | ||||
-rw-r--r-- | runtime/doc/lua.txt | 2 | ||||
-rw-r--r-- | runtime/doc/usr_05.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/lsp.lua | 2 | ||||
-rw-r--r-- | runtime/optwin.vim | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 60d7528602..2c75acbe1f 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -1625,8 +1625,7 @@ nvim_set_hl({ns_id}, {name}, {*val}) *nvim_set_hl()* • reverse: boolean • nocombine: boolean • link: name of another highlight group to link - to, see |:hi-link|. Additionally, the following - keys are recognized: + to, see |:hi-link|. • default: Don't override existing definition |:hi-default| • ctermfg: Sets foreground of cterm color diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 34ea5f39d6..4f07752cb6 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -987,7 +987,7 @@ start_client({config}) *vim.lsp.start_client()* default true): Allow using incremental sync for buffer edits • debounce_text_changes (number, - default nil): Debounce didChange + default 150): Debounce didChange notifications to the server by the given number in milliseconds. No debounce occurs if nil diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 8a14f80856..bdd2e6ff8e 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1092,7 +1092,7 @@ vim.env *vim.env* *lua-vim-optlocal* *lua-vim-setlocal* -In Vimscript, there is an way to set options |set-option|. In Lua, the +In Vimscript, there is a way to set options |set-option|. In Lua, the corresponding method is `vim.opt`. `vim.opt` provides several conveniences for setting and controlling options diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt index 1cf383dce3..0e94d9a1b1 100644 --- a/runtime/doc/usr_05.txt +++ b/runtime/doc/usr_05.txt @@ -45,7 +45,7 @@ This file is always used and is recommended: The vimrc file can contain all the commands that you type after a colon. The simplest ones are for setting options. For example, if you want Vim to always -start with the 'incsearch' option on, add this line your vimrc file: > +start with the 'ignorecase' option on, add this line your vimrc file: > set ignorecase diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 361bcec04b..8bf736a2ca 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -836,7 +836,7 @@ end --- server in the initialize request. Invalid/empty values will default to "off" ---@param flags: A table with flags for the client. The current (experimental) flags are: --- - allow_incremental_sync (bool, default true): Allow using incremental sync for buffer edits ---- - debounce_text_changes (number, default nil): Debounce didChange +--- - debounce_text_changes (number, default 150): Debounce didChange --- notifications to the server by the given number in milliseconds. No debounce --- occurs if nil --- - exit_timeout (number, default 500): Milliseconds to wait for server to diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 54f57a260c..228336e5a4 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -469,7 +469,7 @@ endif call <SID>Header("multiple windows") -call append("$", "laststatus\t0, 1 or 2; when to use a status line for the last window") +call append("$", "laststatus\t0, 1, 2 or 3; when to use a status line for the last window") call append("$", " \tset ls=" . &ls) if has("statusline") call append("$", "statusline\talternate format to be used for a status line") |