From 29da1a9cf0b44f2edcbff9e45af283f235360947 Mon Sep 17 00:00:00 2001 From: tom-anders <13141438+tom-anders@users.noreply.github.com> Date: Sat, 6 May 2023 15:14:00 +0200 Subject: docs: update api.txt and add inline virtual text to news.txt --- runtime/doc/api.txt | 2 ++ runtime/doc/news.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index e7cda59906..f399f1ed25 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -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) diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 9f6ab2ddd0..5690dbf3bc 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -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* -- cgit