aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight_group.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/highlight_group.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/highlight_group.c')
-rw-r--r--src/nvim/highlight_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c
index 080dc79e0e..d2cdcb2516 100644
--- a/src/nvim/highlight_group.c
+++ b/src/nvim/highlight_group.c
@@ -2283,10 +2283,10 @@ static void highlight_list_two(int cnt, int attr)
}
/// Function given to ExpandGeneric() to obtain the list of group names.
-const char *get_highlight_name(expand_T *const xp, int idx)
+char *get_highlight_name(expand_T *const xp, int idx)
FUNC_ATTR_WARN_UNUSED_RESULT
{
- return get_highlight_name_ext(xp, idx, true);
+ return (char *)get_highlight_name_ext(xp, idx, true);
}
/// Obtain a highlight group name.