aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/hl.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-05-20 11:47:24 +0200
committerJustin M. Keyes <justinkz@gmail.com>2026-05-30 12:57:24 +0200
commitf5fae7aa5cf1e599b2bbc0ef0ae6deccc8c0b3d5 (patch)
tree5ac952bcfef2f6d39cae1b2953ed8dc83164e04c /runtime/lua/vim/hl.lua
parent88f3f0eeec47d1edf62490861a29317cc5c81c89 (diff)
downloadrneovim-f5fae7aa5cf1e599b2bbc0ef0ae6deccc8c0b3d5.tar.gz
rneovim-f5fae7aa5cf1e599b2bbc0ef0ae6deccc8c0b3d5.tar.bz2
rneovim-f5fae7aa5cf1e599b2bbc0ef0ae6deccc8c0b3d5.zip
docs: misc, options, pos/range
Diffstat (limited to 'runtime/lua/vim/hl.lua')
-rw-r--r--runtime/lua/vim/hl.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/lua/vim/hl.lua b/runtime/lua/vim/hl.lua
index f67a7a8b96..08307457b1 100644
--- a/runtime/lua/vim/hl.lua
+++ b/runtime/lua/vim/hl.lua
@@ -164,12 +164,12 @@ local events_ns = api.nvim_create_namespace('nvim.hl.events')
--- ```
---
--- @param opts table|nil Optional parameters
---- - event (default vim.v.event) Event structure.
---- - higroup (default "IncSearch") Highlight group for the text region.
---- - on_macro (default false) Highlight during |macro| execution.
---- - on_visual (default true) Highlight during |Visual| mode.
---- - priority (default |vim.hl.priorities|`.user`) Integer priority.
---- - timeout (default 150) Time in ms before highlight is cleared.
+--- - event (default: vim.v.event) Event structure.
+--- - higroup (default: "IncSearch") Highlight group for the text region.
+--- - on_macro (default: false) Highlight during |macro| execution.
+--- - on_visual (default: true) Highlight during |Visual| mode.
+--- - priority (default: |vim.hl.priorities|`.user`) Integer priority.
+--- - timeout (default: 150) Time in ms before highlight is cleared.
function M.hl_op(opts)
vim.validate('opts', opts, 'table', true)
opts = opts or {}