summaryrefslogtreecommitdiff
path: root/src/dged/syntax.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-01-31 16:53:16 +0100
committerAlbert Cervin <albert@acervin.com>2024-01-31 16:53:16 +0100
commitef64c4d05794484e5affbf633f095877cc1422df (patch)
tree782fd6684135de8a8eee483fe49cc5008fc62f7d /src/dged/syntax.c
parent703fde993cd672990242b31f8d28ba5180b4a6a0 (diff)
downloaddged-ef64c4d05794484e5affbf633f095877cc1422df.tar.gz
dged-ef64c4d05794484e5affbf633f095877cc1422df.tar.xz
dged-ef64c4d05794484e5affbf633f095877cc1422df.zip
Finish lang settings rework
Diffstat (limited to 'src/dged/syntax.c')
-rw-r--r--src/dged/syntax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dged/syntax.c b/src/dged/syntax.c
index e7828a5..5f94d60 100644
--- a/src/dged/syntax.c
+++ b/src/dged/syntax.c
@@ -347,7 +347,8 @@ static void update_parser(struct buffer *buffer, void *userdata,
highlight = true;
color = Color_Yellow;
} else if (s8eq(cname, s8("number"))) {
- highlight = false;
+ highlight = true;
+ color = Color_Yellow;
} else if (s8eq(cname, s8("function")) ||
s8eq(cname, s8("function.macro")) ||
s8eq(cname, s8("function.method")) ||