From 4d112977c706034370a7fed65f7c957ec268eaa2 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Mon, 13 May 2024 15:42:09 -0700 Subject: feat(corn): more highlights, comment injections --- queries/corn/highlights.scm | 19 +++++++++++++++---- 1 file 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 -- cgit v1.2.3-70-g09d2