diff options
author | bfredl <bjorn.linse@gmail.com> | 2025-01-21 12:32:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 12:32:20 +0100 |
commit | d7aba51d39c7409ef388ed7cffe3e31d9fcec163 (patch) | |
tree | 0f0dd5c20e65568e013c4d838ea83d5d660b873d /runtime/lua/vim/_meta/api.lua | |
parent | 05435bf10585e7f850ff44acd63446fbcc56bfe5 (diff) | |
parent | 4cced601c8cdfd6253266b035667dd0383a07ebe (diff) | |
download | rneovim-d7aba51d39c7409ef388ed7cffe3e31d9fcec163.tar.gz rneovim-d7aba51d39c7409ef388ed7cffe3e31d9fcec163.tar.bz2 rneovim-d7aba51d39c7409ef388ed7cffe3e31d9fcec163.zip |
Merge pull request #32098 from bfredl/multihl_group
feat(extmark): stack multiple highlight groups in `hl_group`
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 4168d5b857..2f9ab5b846 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -574,6 +574,9 @@ function vim.api.nvim_buf_line_count(buffer) end --- - hl_group : highlight group used for the text range. This and below --- highlight groups can be supplied either as a string or as an integer, --- the latter of which can be obtained using `nvim_get_hl_id_by_name()`. +--- +--- Multiple highlight groups can be stacked by passing an array (highest +--- priority last). --- - hl_eol : when true, for a multiline highlight covering the --- EOL of a line, continue the highlight for the rest --- of the screen line (just like for diff and |