aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-01 19:07:16 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-10-01 20:00:23 +0800
commit01c51a491330bd10202c73aff92c0978984c0692 (patch)
tree489e52a8c585f8f1fccfdddf814ac763ad2b7522 /src/nvim/cmdexpand.c
parent5821c857e025a292c17bd80192366dc7bfb1fbc6 (diff)
downloadrneovim-01c51a491330bd10202c73aff92c0978984c0692.tar.gz
rneovim-01c51a491330bd10202c73aff92c0978984c0692.tar.bz2
rneovim-01c51a491330bd10202c73aff92c0978984c0692.zip
feat(completion): support completing more string options
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r--src/nvim/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index 3969162b6e..893deadd13 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -2598,7 +2598,7 @@ static int ExpandOther(char *pat, expand_T *xp, regmatch_T *rmp, char ***matches
{ EXPAND_MENUNAMES, get_menu_names, false, true },
{ EXPAND_SYNTAX, get_syntax_name, true, true },
{ EXPAND_SYNTIME, get_syntime_arg, true, true },
- { EXPAND_HIGHLIGHT, (ExpandFunc)get_highlight_name, true, false },
+ { EXPAND_HIGHLIGHT, get_highlight_name, true, false },
{ EXPAND_EVENTS, expand_get_event_name, true, false },
{ EXPAND_AUGROUP, expand_get_augroup_name, true, false },
{ EXPAND_SIGN, get_sign_name, true, true },