mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 03:45:42 +00:00
docs: update api.txt and add inline virtual text to news.txt
This commit is contained in:
@@ -2608,6 +2608,8 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts})
|
|||||||
• "overlay": display over the specified column, without
|
• "overlay": display over the specified column, without
|
||||||
shifting the underlying text.
|
shifting the underlying text.
|
||||||
• "right_align": display right aligned in the window.
|
• "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
|
• virt_text_win_col : position the virtual text at a fixed
|
||||||
window column (starting from the first text column)
|
window column (starting from the first text column)
|
||||||
|
|||||||
@@ -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
|
• |Query:iter_matches()| now has the ability to set the maximum start depth
|
||||||
for matches.
|
for matches.
|
||||||
|
|
||||||
|
• Added inline virtual text support to |nvim_buf_set_extmark()|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
CHANGED FEATURES *news-changed*
|
CHANGED FEATURES *news-changed*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user