aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-30 09:53:52 +0200
committerGitHub <noreply@github.com>2022-09-30 09:53:52 +0200
commitdf646572c53f55268a5dbb61628d7c3b302d5663 (patch)
tree2b4dc98b294e8faae446c21181d48c47a22b54aa /runtime/doc/api.txt
parent9cf252e12153aa8bf657631a8ed2b83888948fb0 (diff)
downloadrneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.gz
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.bz2
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.zip
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>
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 9515dea9a2..2748d2b04c 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -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