summaryrefslogtreecommitdiff
path: root/src/highlight.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-02-19 23:59:03 +0200
committerGravatar Uko Kokņevičs2024-02-20 00:13:09 +0200
commit99814350e51ad1c64040501cee5cf267e9e3ed79 (patch)
treeea9f61eb18bc0e2c5011652d4cc6d528a955c296 /src/highlight.zig
parentBig update to modern zig (diff)
downloades-99814350e51ad1c64040501cee5cf267e9e3ed79.tar.gz
es-99814350e51ad1c64040501cee5cf267e9e3ed79.tar.xz
es-99814350e51ad1c64040501cee5cf267e9e3ed79.zip
Update zig mode and theme
Diffstat (limited to 'src/highlight.zig')
-rw-r--r--src/highlight.zig20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/highlight.zig b/src/highlight.zig
index b0f4cfd..b6876d6 100644
--- a/src/highlight.zig
+++ b/src/highlight.zig
@@ -17,18 +17,18 @@ pub const Highlight = enum {
17 return switch (hl) { 17 return switch (hl) {
18 .none => "\x1b[m", 18 .none => "\x1b[m",
19 19
20 .normal => "\x1b[39m", 20 .normal => "\x1b[;39m",
21 21
22 .comment => "\x1b[36m", 22 .comment => "\x1b[;2;3;36m",
23 .comment_ml => "\x1b[36m", 23 .comment_ml => "\x1b[;2;3;36m",
24 .keyword1 => "\x1b[33m", 24 .keyword1 => "\x1b[;1;33m",
25 .keyword2 => "\x1b[32m", 25 .keyword2 => "\x1b[;32m",
26 .number => "\x1b[31m", 26 .number => "\x1b[;31m",
27 .string => "\x1b[35m", 27 .string => "\x1b[;35m",
28 28
29 .line_no => "\x1b[0;90m", 29 .line_no => "\x1b[;90m",
30 .match => "\x1b[34m", 30 .match => "\x1b[;4;34m",
31 .overlong_line => "\x1b[91m", 31 .overlong_line => "\x1b[;7;91m",
32 }; 32 };
33 } 33 }
34}; 34};