aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2024-07-27 17:57:19 +0800
committerglepnir <glephunter@gmail.com>2024-07-27 18:05:37 +0800
commitf132f8e9d43e3e5f56079bcae40d87b871d7b61b (patch)
tree83cc7df6dd6a2de04464ece1b9c76e6de0ad00ab /src/nvim/cmdexpand.c
parentaa853f362addded400d52d8fdfe5247c300c0e89 (diff)
downloadrneovim-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 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index e544ea14ea..fe1199e69a 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -356,6 +356,7 @@ static int cmdline_pum_create(CmdlineInfo *ccline, expand_T *xp, char **matches,
.pum_info = NULL,
.pum_extra = NULL,
.pum_kind = NULL,
+ .pum_extrahlattr = -1,
};
}