Skip to content

Commit

Permalink
Update purescript-tree-sitter grammar (#8527)
Browse files Browse the repository at this point in the history
  • Loading branch information
NomisIV committed Oct 13, 2023
1 parent 574f821 commit 1ef7f24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ formatter = { command = "purs-tidy", args = ["format"] }

[[grammar]]
name = "purescript"
source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "5f5a030826849b7be17596d372967f60051b42bd" }
source = { git = "https://github.com/maskhjarna/tree-sitter-purescript", rev = "0e36a885a941078bf40e559026be425764dc27bf" }

[[language]]
name = "zig"
Expand Down
5 changes: 4 additions & 1 deletion runtime/queries/purescript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
(exp_negation) @constant.numeric.integer
(exp_literal (float)) @constant.numeric.float
(char) @constant.character
(string) @string
[
(string)
(triple_quote_string)
] @string

(con_unit) @constant.builtin ; unit, as in ()

Expand Down

0 comments on commit 1ef7f24

Please sign in to comment.