docs: update api.txt and add inline virtual text to news.txt

This commit is contained in:
tom-anders 2023-05-06 15:14:00 +02:00 committed by bfredl
parent 584319cb03
commit 29da1a9cf0
2 changed files with 4 additions and 0 deletions

View File

@ -2608,6 +2608,8 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts})
• "overlay": display over the specified column, without
shifting the underlying text.
• "right_align": display right aligned in the window.
• "inline": display at the specified column, and shift the
buffer text to the right as needed
• virt_text_win_col : position the virtual text at a fixed
window column (starting from the first text column)

View File

@ -56,6 +56,8 @@ The following new APIs or features were added.
• |Query:iter_matches()| now has the ability to set the maximum start depth
for matches.
• Added inline virtual text support to |nvim_buf_set_extmark()|.
==============================================================================
CHANGED FEATURES *news-changed*