syntax highlightinggit status

This commit is contained in:
2025-09-21 15:32:17 +02:00
parent e8b7a76ddb
commit 81af0683d1
7 changed files with 4261 additions and 3347 deletions

View File

@@ -0,0 +1,57 @@
; megic
(identifier) @variable
(tag) @label ; @constructor
[
"(" ")"
"{" "}"
"[" "]"
] @punctuation.bracket
[
"."
","
"|"
"->"
":"
] @punctuation.delimiter
[
(comment)
(doc_comment)
(section_comment)
] @comment
(num_literal) @constant.builtin
[(char_literal)
(string_literal)
] @string
(escape_sequence) @escape
["+" "-"
"*" "/"
"=>" "++"
"::"
] @operator
[
"def"
"type"
"with"
"extensible"
"extend"
"union"
"def"
"await"
"let"
"if"
"then"
"else"
"in"
"match"
"and"
] @keyword