mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
feat(api/ui): win_extmarks
This commit is contained in:
@@ -2706,6 +2706,11 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts})
|
||||
"hl_group" is used as highlight for the cchar
|
||||
if provided, otherwise it defaults to
|
||||
|hl-Conceal|.
|
||||
• ui_watched: boolean that indicates the mark
|
||||
should be drawn by a UI. When set, the UI will
|
||||
receive win_extmark events. Note: the mark is
|
||||
positioned by virt_text attributes. Can be
|
||||
used together with virt_text.
|
||||
|
||||
Return: ~
|
||||
Id of the created/updated extmark
|
||||
|
@@ -627,6 +627,10 @@ tabs.
|
||||
`botline` is set to one more than the line count of the buffer, if
|
||||
there are filler lines past the end.
|
||||
|
||||
["win_extmark", grid, win, ns_id, mark_id, row, col]
|
||||
Updates the position of an extmark which is currently visible in a
|
||||
window. Only emitted if the mark has the `ui_watched` attribute.
|
||||
|
||||
==============================================================================
|
||||
Popupmenu Events *ui-popupmenu*
|
||||
|
||||
|
Reference in New Issue
Block a user