aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/window.c
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2023-03-16 09:31:37 +0100
committerGitHub <noreply@github.com>2023-03-16 09:31:37 +0100
commit320cb344c14b30f8c1aa8c2d86803e4c2f971ae9 (patch)
treed3c0afe5c76a5e7c4e741c225e85d40b556ab924 /src/nvim/api/window.c
parent5a38e951ec1532ba1ee8b35b42181003866d479c (diff)
downloadrneovim-320cb344c14b30f8c1aa8c2d86803e4c2f971ae9.tar.gz
rneovim-320cb344c14b30f8c1aa8c2d86803e4c2f971ae9.tar.bz2
rneovim-320cb344c14b30f8c1aa8c2d86803e4c2f971ae9.zip
docs(api): link to nvim_set_hl_ns from nvim_set_hl (#22678)
Diffstat (limited to 'src/nvim/api/window.c')
-rw-r--r--src/nvim/api/window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/window.c b/src/nvim/api/window.c
index e2c234ab29..abe11e6b72 100644
--- a/src/nvim/api/window.c
+++ b/src/nvim/api/window.c
@@ -445,8 +445,9 @@ Object nvim_win_call(Window window, LuaRef fun, Error *err)
return res;
}
-/// Set highlight namespace for a window. This will use highlights defined in
-/// this namespace, but fall back to global highlights (ns=0) when missing.
+/// Set highlight namespace for a window. This will use highlights defined with
+/// |nvim_set_hl()| for this namespace, but fall back to global highlights (ns=0) when
+/// missing.
///
/// This takes precedence over the 'winhighlight' option.
///