summaryrefslogtreecommitdiff
path: root/colors.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-22 22:36:27 -0500
committerpommicket <pommicket@gmail.com>2022-12-22 22:36:27 -0500
commit266af5ed551765ca22cb90819f570ff9371e279b (patch)
treeb7933241354696fc11a9997b488973614f5f4df1 /colors.c
parented6661d4b0bd10d15796a3053da00eddace1f881 (diff)
even better-looking autocomplete
Diffstat (limited to 'colors.c')
-rw-r--r--colors.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/colors.c b/colors.c
index a684508..8e0ea52 100644
--- a/colors.c
+++ b/colors.c
@@ -57,10 +57,13 @@ static ColorSetting color_for_symbol_kind(SymbolKind kind) {
case SYMBOL_CONSTANT:
return COLOR_CONSTANT;
case SYMBOL_TYPE:
+ return COLOR_AUTOCOMPLETE_TYPE;
case SYMBOL_FIELD:
case SYMBOL_VARIABLE:
- case SYMBOL_OTHER:
+ return COLOR_AUTOCOMPLETE_VARIABLE;
case SYMBOL_FUNCTION:
+ return COLOR_AUTOCOMPLETE_FUNCTION;
+ case SYMBOL_OTHER:
return COLOR_TEXT;
case SYMBOL_KEYWORD:
return COLOR_KEYWORD;