mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
feat(lua): add hl priority opts on yank (#23509)
feat(lua): add hl priority opts on_yank Signed-off-by: marcoSven <me@marcosven.com>
This commit is contained in:
@@ -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()*
|
||||
|
||||
Reference in New Issue
Block a user