aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authormarcoSven <me@marcosven.com>2023-05-06 21:53:36 +0200
committerGitHub <noreply@github.com>2023-05-06 21:53:36 +0200
commit9248dd77ac58bd23721dc4e156e43ed5e9ada338 (patch)
tree50ee961b0922fc5eda02301b8726d319ab826146 /runtime/doc
parentd48cd9a0aa9dc2c79a218174708c7c7278a6e6f3 (diff)
downloadrneovim-9248dd77ac58bd23721dc4e156e43ed5e9ada338.tar.gz
rneovim-9248dd77ac58bd23721dc4e156e43ed5e9ada338.tar.bz2
rneovim-9248dd77ac58bd23721dc4e156e43ed5e9ada338.zip
feat(lua): add hl priority opts on yank (#23509)
feat(lua): add hl priority opts on_yank Signed-off-by: marcoSven <me@marcosven.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 820bd0eb35..d9952205da 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -592,6 +592,8 @@ vim.highlight.on_yank({opts}) *vim.highlight.on_yank()*
- {on_macro} highlight when executing macro (default `false`)
- {on_visual} highlight when yanking visual selection (default `true`)
- {event} event structure (default |v:event|)
+ - {priority} priority of highlight (default |vim.highlight.priorities|`.user`)
+
vim.highlight.range({bufnr}, {ns}, {hlgroup}, {start}, {finish}, {opts})
*vim.highlight.range()*