diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-13 07:02:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 07:02:06 +0800 |
commit | 9359701eae7bd8a59e4a916e085cc686f609d693 (patch) | |
tree | 0ff0b5298b95f43ac14ab55779591d3bbec0e2b4 /src | |
parent | 317c80f460a7826421f40f57ee8bdbd736b0f225 (diff) | |
download | rneovim-9359701eae7bd8a59e4a916e085cc686f609d693.tar.gz rneovim-9359701eae7bd8a59e4a916e085cc686f609d693.tar.bz2 rneovim-9359701eae7bd8a59e4a916e085cc686f609d693.zip |
test(extmarks): add test for virt_text_win_col with cpo+=n (#24328)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/extmark.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c index 0608a8961d..d254373eb0 100644 --- a/src/nvim/api/extmark.c +++ b/src/nvim/api/extmark.c @@ -473,15 +473,16 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e /// either as a 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 +/// 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) +/// 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'. |