diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-05-13 15:42:09 -0700 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2024-06-15 13:04:52 -0400 |
| commit | 4d112977c706034370a7fed65f7c957ec268eaa2 (patch) | |
| tree | ce46ca6f08298ce41b7ec95b92fbe44af2e1d24d /queries | |
| parent | feat(scala): add some missing highlights (diff) | |
| download | nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar.gz nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar.bz2 nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar.lz nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar.xz nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.tar.zst nvim-treesitter-4d112977c706034370a7fed65f7c957ec268eaa2.zip | |
feat(corn): more highlights, comment injections
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/corn/highlights.scm | 19 |
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 |
