mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
docs: fix typos (#20394)
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -2579,7 +2579,7 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts})
|
||||
• virt_text : virtual text to link to this mark. A list of
|
||||
[text, highlight] tuples, each representing a text chunk
|
||||
with specified highlight. `highlight` element can either
|
||||
be a a single highlight group, or an array of multiple
|
||||
be a single highlight group, or an array of multiple
|
||||
highlight groups that will be stacked (highest priority
|
||||
last). A highlight group can be supplied either as a
|
||||
string or as an integer, the latter which can be obtained
|
||||
@@ -2897,7 +2897,7 @@ nvim_win_set_hl_ns({window}, {ns_id}) *nvim_win_set_hl_ns()*
|
||||
Set highlight namespace for a window. This will use highlights defined in
|
||||
this namespace, but fall back to global highlights (ns=0) when missing.
|
||||
|
||||
This takes predecence over the 'winhighlight' option.
|
||||
This takes precedence over the 'winhighlight' option.
|
||||
|
||||
Parameters: ~
|
||||
{ns_id} the namespace to use
|
||||
|
||||
@@ -489,7 +489,7 @@ backup.vim
|
||||
http://www.vim.org/scripts/script.php?script_id=1537
|
||||
Keeps as many backups as you like so you don't have to.
|
||||
|
||||
rainbow_parenthsis.vim
|
||||
rainbow_parenthesis.vim
|
||||
http://www.vim.org/scripts/script.php?script_id=1561
|
||||
Very helpful since Ada uses only '(' and ')'.
|
||||
|
||||
|
||||
@@ -3355,7 +3355,7 @@ uv.getnameinfo({address} [, {callback}]) *uv.getnameinfo()*
|
||||
- `family`: `string` or `integer` or `nil`
|
||||
- `callback`: `callable` (async version) or `nil` (sync
|
||||
version)
|
||||
- `err`: `nil` or `sring`
|
||||
- `err`: `nil` or `string`
|
||||
- `host`: `string` or `nil`
|
||||
- `service`: `string` or `nil`
|
||||
|
||||
|
||||
@@ -1340,7 +1340,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
used. The command-line will cover the last line of the screen when
|
||||
shown.
|
||||
|
||||
WARNING: `cmdheight=0` is considered experimental. Except some
|
||||
WARNING: `cmdheight=0` is considered experimental. Expect some
|
||||
unwanted behaviour. Some 'shortmess' flags and similar
|
||||
mechanism might fail to take effect, causing unwanted hit-enter
|
||||
prompts. Some informative messages, both from Nvim itself and
|
||||
|
||||
@@ -2365,7 +2365,7 @@ you set the variable: >
|
||||
|
||||
:let papp_include_html=1
|
||||
|
||||
in your startup file it will try to syntax-hilight html code inside phtml
|
||||
in your startup file it will try to syntax-highlight html code inside phtml
|
||||
sections, but this is relatively slow and much too colourful to be able to
|
||||
edit sensibly. ;)
|
||||
|
||||
|
||||
@@ -476,7 +476,7 @@ function M.apply_text_edits(text_edits, bufnr, offset_encoding)
|
||||
-- If the replacement is over the end of a line (i.e. e.end_col is out of bounds and the
|
||||
-- replacement text ends with a newline We can likely assume that the replacement is assumed
|
||||
-- to be meant to replace the newline with another newline and we need to make sure this
|
||||
-- doens't add an extra empty line. E.g. when the last line to be replaced contains a '\r'
|
||||
-- doesn't add an extra empty line. E.g. when the last line to be replaced contains a '\r'
|
||||
-- in the file some servers (clangd on windows) will include that character in the line
|
||||
-- while nvim_buf_set_text doesn't count it as part of the line.
|
||||
if
|
||||
|
||||
Reference in New Issue
Block a user