Skip to content

Commit

Permalink
Change punctuation color in repl
Browse files Browse the repository at this point in the history
  • Loading branch information
bamless committed Jan 8, 2024
1 parent 83c8027 commit b975ea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/jstar/highlighter.c
Expand Up @@ -4,6 +4,7 @@
#include <string.h>

#include "jstar/parse/lex.h"
#include "replxx.h"

// -----------------------------------------------------------------------------
// COLOR THEME DEFINITION
Expand Down Expand Up @@ -52,7 +53,7 @@ static const ReplxxColor theme[TOK_EOF] = {
[TOK_STATIC] = STORAGE_KEYWORD_COLOR,

// Punctuation
#define PUNCTUATION_COLOR REPLXX_COLOR_GRAY
#define PUNCTUATION_COLOR REPLXX_COLOR_DEFAULT
[TOK_SEMICOLON] = PUNCTUATION_COLOR,
[TOK_PIPE] = PUNCTUATION_COLOR,
[TOK_LPAREN] = PUNCTUATION_COLOR,
Expand Down

0 comments on commit b975ea5

Please sign in to comment.