mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
highlights(elm): fix boolean literals
This commit is contained in:
parent
0b69c4ae52
commit
e4042553bd
2 changed files with 2 additions and 1 deletions
|
|
@ -723,6 +723,7 @@ list.elm = {
|
|||
url = "https://github.com/elm-tooling/tree-sitter-elm",
|
||||
files = { "src/parser.c", "src/scanner.cc" },
|
||||
},
|
||||
maintainers = { "@zweimach" },
|
||||
}
|
||||
|
||||
list.yaml = {
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
(number_literal) @number)
|
||||
|
||||
(upper_case_qid
|
||||
((upper_case_identifier) @_bool (#match? @_bool "(True|False)")) @boolean)
|
||||
((upper_case_identifier) @boolean (#any-of? @boolean "True" "False")))
|
||||
|
||||
[
|
||||
(open_quote)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue