diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-28 11:09:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 11:09:25 +0800 |
commit | e41b2e34b46a806b0fc59914263f8f4af9ac62f1 (patch) | |
tree | d7c3f57dad838f92cd31dd4d386e6e22ea440fc3 /src/nvim/api | |
parent | 7a8402ac31aa2e155baafbc925c48527511c1e92 (diff) | |
download | rneovim-e41b2e34b46a806b0fc59914263f8f4af9ac62f1.tar.gz rneovim-e41b2e34b46a806b0fc59914263f8f4af9ac62f1.tar.bz2 rneovim-e41b2e34b46a806b0fc59914263f8f4af9ac62f1.zip |
test(extmarks): add test for virt_text_hide with 'smoothscroll' (#23791)
Diffstat (limited to 'src/nvim/api')
-rw-r--r-- | src/nvim/api/extmark.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c index 299413e510..aca290494b 100644 --- a/src/nvim/api/extmark.c +++ b/src/nvim/api/extmark.c @@ -483,8 +483,9 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e /// window column (starting from the first /// text column) /// - virt_text_hide : hide the virtual text when the background -/// text is selected or hidden due to -/// horizontal scroll 'nowrap' +/// text is selected or hidden because of +/// scrolling with 'nowrap' or 'smoothscroll'. +/// Currently only affects "overlay" virt_text. /// - hl_mode : control how highlights are combined with the /// highlights of the text. Currently only affects /// virt_text highlights, but might affect `hl_group` |