diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-09 08:15:14 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-10 07:21:02 +0800 |
commit | 8450752f46e1482bf34b7f05e484cca740f61075 (patch) | |
tree | 58abd1753cfbf7185a1f7ed224ff473e5a1bb8e8 /runtime/lua/vim/lsp/completion.lua | |
parent | cd8e15e3373dc9544d582640f043d3dee83a953d (diff) | |
download | rneovim-8450752f46e1482bf34b7f05e484cca740f61075.tar.gz rneovim-8450752f46e1482bf34b7f05e484cca740f61075.tar.bz2 rneovim-8450752f46e1482bf34b7f05e484cca740f61075.zip |
vim-patch:9.1.0771: completion attribute hl_group is confusing
Problem: Currently completion attribute hl_group is combined with
all items, which is redundant and confusing with kind_hlgroup
Solution: Renamed to abbr_hlgroup and combine it only with the abbr item
(glepnir).
closes: vim/vim#15818
https://github.com/vim/vim/commit/0fe17f8ffbd2588ecd2bf42dced556897bc64f89
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/lsp/completion.lua')
-rw-r--r-- | runtime/lua/vim/lsp/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua index 71ea2df100..e74f993356 100644 --- a/runtime/lua/vim/lsp/completion.lua +++ b/runtime/lua/vim/lsp/completion.lua @@ -272,7 +272,7 @@ function M._lsp_to_complete_items(result, prefix, client_id) icase = 1, dup = 1, empty = 1, - hl_group = hl_group, + abbr_hlgroup = hl_group, user_data = { nvim = { lsp = { |