mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
docs: clarify on_bytes arguments
based on extmark_splice doc
This commit is contained in:
committed by
Christian Clason
parent
7cb29a572b
commit
3faace1995
12
runtime/lua/vim/_meta/api.lua
generated
12
runtime/lua/vim/_meta/api.lua
generated
@ -173,11 +173,15 @@ function vim.api.nvim_buf_add_highlight(buffer, ns_id, hl_group, line, col_start
|
||||
--- • start column of the changed text
|
||||
--- • byte offset of the changed text (from the start of
|
||||
--- the buffer)
|
||||
--- • old end row of the changed text
|
||||
--- • old end column of the changed text
|
||||
--- • old end row of the changed text (offset from start
|
||||
--- row)
|
||||
--- • old end column of the changed text (if old end row
|
||||
--- = 0, offset from start column)
|
||||
--- • old end byte length of the changed text
|
||||
--- • new end row of the changed text
|
||||
--- • new end column of the changed text
|
||||
--- • new end row of the changed text (offset from start
|
||||
--- row)
|
||||
--- • new end column of the changed text (if new end row
|
||||
--- = 0, offset from start column)
|
||||
--- • new end byte length of the changed text
|
||||
---
|
||||
--- • on_changedtick: Lua callback invoked on changedtick
|
||||
|
Reference in New Issue
Block a user