mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
chore: update perl + pod parsers (#11848)
This commit is contained in:
parent
f9ac1f1ff1
commit
4d3612125b
@ -1487,7 +1487,7 @@ indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[grammar]]
|
||||
name = "perl"
|
||||
source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "e99bb5283805db4cb86c964722d709df21b0ac16" }
|
||||
source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "72a08a496a23212f23802490ef6f4700d68cfd0e" }
|
||||
|
||||
[[language]]
|
||||
name = "pod"
|
||||
@ -1497,7 +1497,7 @@ file-types = ["pod"]
|
||||
|
||||
[[grammar]]
|
||||
name = "pod"
|
||||
source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "39da859947b94abdee43e431368e1ae975c0a424" }
|
||||
source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "0bf8387987c21bf2f8ed41d2575a8f22b139687f" }
|
||||
|
||||
[[language]]
|
||||
name = "racket"
|
||||
|
@ -1,9 +1,9 @@
|
||||
[
|
||||
"use" "no" "require" "package"
|
||||
"use" "no" "require" "package" "class" "role"
|
||||
] @keyword.control.import
|
||||
|
||||
[
|
||||
"sub"
|
||||
"sub" "method" "async" "extended"
|
||||
] @keyword.function
|
||||
|
||||
[
|
||||
@ -17,7 +17,7 @@
|
||||
] @keyword.control.repeat
|
||||
|
||||
[
|
||||
"my" "our" "local"
|
||||
"my" "our" "local" "state"
|
||||
] @keyword.storage.modifier
|
||||
|
||||
[
|
||||
@ -29,9 +29,10 @@
|
||||
] @constant.builtin
|
||||
|
||||
(phaser_statement phase: _ @keyword.directive)
|
||||
(class_phaser_statement phase: _ @keyword.directive)
|
||||
|
||||
[
|
||||
"or" "and"
|
||||
"or" "xor" "and"
|
||||
"eq" "ne" "cmp" "lt" "le" "ge" "gt"
|
||||
"isa"
|
||||
] @keyword.operator
|
||||
@ -55,7 +56,7 @@
|
||||
|
||||
[(quoted_regexp) (match_regexp)] @string.regexp
|
||||
|
||||
(autoquoted_bareword _?) @string.special
|
||||
(autoquoted_bareword) @string.special
|
||||
|
||||
[(scalar) (arraylen)] @variable
|
||||
(scalar_deref_expression ["->" "$" "*"] @variable)
|
||||
|
Loading…
Reference in New Issue
Block a user