diff options
author | Michael Davis | 2022-11-23 22:27:26 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-11-24 02:07:05 +0000 |
commit | ee06d4d337af7a46de294d88c00104b2ae836455 (patch) | |
tree | df56812880bf6fe0483b5f5783b0433b7bcc93ba | |
parent | cbc72e84d7a4c2a1ed5ec81bced3d280c69b4649 (diff) |
Update tree-sitter-gleam
This update includes a handful of fixes, a new binary concatenation
operator (already highlighted by the `binary_operator` rule), and a
new `use` language construct. The nodes are backwards compatible but
this update introduces two new nodes for highlighting: `use` and `<-`.
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/gleam/highlights.scm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index f6a238f4..0d90c3f7 100644 --- a/languages.toml +++ b/languages.toml @@ -1263,7 +1263,7 @@ language-server = { command = "gleam", args = ["lsp"] } [[grammar]] name = "gleam" -source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "d7861b2a4b4d594c58bb4f1be5f1f4ee4c67e5c3" } +source = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "d6cbdf3477fcdb0b4d811518a356f9b5cd1795ed" } [[language]] name = "ron" diff --git a/runtime/queries/gleam/highlights.scm b/runtime/queries/gleam/highlights.scm index 8cff6b51..34b3ce65 100644 --- a/runtime/queries/gleam/highlights.scm +++ b/runtime/queries/gleam/highlights.scm @@ -80,6 +80,7 @@ "todo" "try" "type" + "use" ] @keyword ; Punctuation @@ -103,4 +104,5 @@ "->" ".." "-" + "<-" ] @punctuation.delimiter |