From 9359701eae7bd8a59e4a916e085cc686f609d693 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 13 Jul 2023 07:02:06 +0800 Subject: test(extmarks): add test for virt_text_win_col with cpo+=n (#24328) --- runtime/doc/api.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index d128bf0221..a20ba9a348 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -2615,15 +2615,16 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts}) string or as an integer, the latter which can be obtained using |nvim_get_hl_id_by_name()|. • virt_text_pos : position of virtual text. Possible values: - • "eol": right after eol character (default) + • "eol": right after eol character (default). • "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 + 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) + window column (starting from the first text column of the + screen line) instead of "virt_text_pos". • virt_text_hide : hide the virtual text when the background text is selected or hidden because of scrolling with 'nowrap' or 'smoothscroll'. Currently only affects -- cgit