diff options
author | glepnir <glephunter@gmail.com> | 2024-07-27 17:57:19 +0800 |
---|---|---|
committer | glepnir <glephunter@gmail.com> | 2024-07-27 18:05:37 +0800 |
commit | f132f8e9d43e3e5f56079bcae40d87b871d7b61b (patch) | |
tree | 83cc7df6dd6a2de04464ece1b9c76e6de0ad00ab /runtime | |
parent | aa853f362addded400d52d8fdfe5247c300c0e89 (diff) | |
download | rneovim-f132f8e9d43e3e5f56079bcae40d87b871d7b61b.tar.gz rneovim-f132f8e9d43e3e5f56079bcae40d87b871d7b61b.tar.bz2 rneovim-f132f8e9d43e3e5f56079bcae40d87b871d7b61b.zip |
vim-patch:9.1.0618: cannot mark deprecated attributes in completion menu
Problem: cannot mark deprecated attributes in completion menu
Solution: add hl_group to the Dictionary of supported completion fields
(glepnir)
closes: vim/vim#15314
https://github.com/vim/vim/commit/508e7856ec4afc9d6038b14bb6893668268dccab
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/insert.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index e12f240430..47d0b3b839 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1177,6 +1177,12 @@ items: user_data custom data which is associated with the item and available in |v:completed_item|; it can be any type; defaults to an empty string + hl_group allows specifying an additional highlight group to + apply extra attributes to completion items in the + popupmenu. Is combined with |hl-PmenuSel| and + |hl-Pmenu| highlighting attributes to apply cterm and + gui properties, such as strikethrough to the + completion items. All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and |