docs(api): link to nvim_set_hl_ns from nvim_set_hl (#22678)

This commit is contained in:
ii14
2023-03-16 09:31:37 +01:00
committed by GitHub
parent 5a38e951ec
commit 320cb344c1
3 changed files with 18 additions and 10 deletions

View File

@@ -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.
///