aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/corn/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/corn/highlights.scm')
-rw-r--r--runtime/queries/corn/highlights.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/runtime/queries/corn/highlights.scm b/runtime/queries/corn/highlights.scm
new file mode 100644
index 000000000..8f394ed79
--- /dev/null
+++ b/runtime/queries/corn/highlights.scm
@@ -0,0 +1,37 @@
+[
+ "let"
+ "in"
+] @keyword
+
+[
+ "{"
+ "}"
+ "["
+ "]"
+] @punctuation.bracket
+
+"." @punctuation.delimiter
+
+[
+ ".."
+ "="
+] @operator
+
+(input) @constant
+
+(null) @constant.builtin
+
+(comment) @comment @spell
+
+(string) @string
+
+(integer) @number
+
+(float) @number.float
+
+(float
+ "." @number.float)
+
+(boolean) @boolean
+
+(path_seg) @property