aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/corn/highlights.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/queries/corn/highlights.scm b/queries/corn/highlights.scm
index 029291462..8f394ed79 100644
--- a/queries/corn/highlights.scm
+++ b/queries/corn/highlights.scm
@@ -1,6 +1,7 @@
-"let" @keyword
-
-"in" @keyword
+[
+ "let"
+ "in"
+] @keyword
[
"{"
@@ -11,8 +12,15 @@
"." @punctuation.delimiter
+[
+ ".."
+ "="
+] @operator
+
(input) @constant
+(null) @constant.builtin
+
(comment) @comment @spell
(string) @string
@@ -21,6 +29,9 @@
(float) @number.float
+(float
+ "." @number.float)
+
(boolean) @boolean
-(null) @keyword
+(path_seg) @property