aboutsummaryrefslogtreecommitdiff
path: root/runtime
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 /runtime
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 'runtime')
-rw-r--r--runtime/doc/api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index f399f1ed25..ed8858820e 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2614,8 +2614,9 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts})
• virt_text_win_col : position the virtual text at a fixed
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` in later versions.