aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-03-11 08:26:59 -0800
committerGitHub <noreply@github.com>2021-03-11 08:26:59 -0800
commit5d20fc4fc5c076455a5c4c07dc297f214f43ee2d (patch)
tree41847697032d58f1db9907ae760dc979980d9f44 /runtime/doc/api.txt
parent097ec71bd82840996e4ba06d0006850b0ad7b5d1 (diff)
parent02271009cac17c5705059074c0aa18d9a003fe67 (diff)
downloadrneovim-5d20fc4fc5c076455a5c4c07dc297f214f43ee2d.tar.gz
rneovim-5d20fc4fc5c076455a5c4c07dc297f214f43ee2d.tar.bz2
rneovim-5d20fc4fc5c076455a5c4c07dc297f214f43ee2d.zip
Merge pull request #14107 from mfussenegger/gen-docs
Update lsp, lua and api docs (gen_vimdoc.py)
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt19
1 files changed, 16 insertions, 3 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index bd34411065..be4197f5ea 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1415,8 +1415,8 @@ nvim_put({lines}, {type}, {after}, {follow}) *nvim_put()*
• "c" |charwise| mode
• "l" |linewise| mode
• "" guess by contents, see |setreg()|
- {after} If true insert after cursor (like |p|), or before (like
- |P|).
+ {after} If true insert after cursor (like |p|), or
+ before (like |P|).
{follow} If true place cursor at end of inserted text.
*nvim_replace_termcodes()*
@@ -1737,7 +1737,7 @@ nvim__buf_stats({buffer}) *nvim__buf_stats()*
TODO: Documentation
*nvim_buf_add_highlight()*
-nvim_buf_add_highlight({buffer}, {src_id}, {hl_group}, {line}, {col_start},
+nvim_buf_add_highlight({buffer}, {ns_id}, {hl_group}, {line}, {col_start},
{col_end})
Adds a highlight to buffer.
@@ -2202,6 +2202,19 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {opts})
column, without shifting the underlying
text.
+ • virt_text_hide : hide the virtual text when
+ the background text is selected or hidden due
+ to horizontal scroll 'nowrap'
+ • 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.
+ • "replace": only show the virt_text color.
+ This is the default
+ • "combine": combine with background text
+ color
+ • "blend": blend with background text color.
+
• ephemeral : for use with
|nvim_set_decoration_provider| callbacks. The
mark will only be used for the current redraw