diff options
author | Erin van der Veen | 2022-04-29 12:34:15 +0000 |
---|---|---|
committer | GitHub | 2022-04-29 12:34:15 +0000 |
commit | 21487d13fd6c651349fb8bb476f1aff3a6c61f8c (patch) | |
tree | 2167f3639bc72211fa967a6ac40ac33f62482974 | |
parent | 22ae1b92a6ef312a1a796bf857cca590efb970d6 (diff) |
feat(lang): Update nickel to include "rec" keyword (#2320)
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/nickel/highlights.scm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index 76d1f43a..660cb4ca 100644 --- a/languages.toml +++ b/languages.toml @@ -424,7 +424,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "nickel" -source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "85348774ccf7624fac72703b2264d18b6f572be6" } +source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "c4dd1420b6cfeb6103d38eb1ce5195eb81197edc" } [[language]] name = "nix" diff --git a/runtime/queries/nickel/highlights.scm b/runtime/queries/nickel/highlights.scm index a204dfca..cd458df2 100644 --- a/runtime/queries/nickel/highlights.scm +++ b/runtime/queries/nickel/highlights.scm @@ -22,6 +22,7 @@ (record_operand (atom (ident) @variable)) (let_expr "let" @keyword + "rec"? @keyword pat: (pattern (ident) @variable ) |