aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-28 11:09:25 +0800
committerGitHub <noreply@github.com>2023-05-28 11:09:25 +0800
commite41b2e34b46a806b0fc59914263f8f4af9ac62f1 (patch)
treed7c3f57dad838f92cd31dd4d386e6e22ea440fc3 /src/nvim/api
parent7a8402ac31aa2e155baafbc925c48527511c1e92 (diff)
downloadrneovim-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.c5
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`