mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Bump tree-sitter-erlang, add *.app.src
file-type (#9627)
This commit is contained in:
parent
4df08ddbe0
commit
59369d99e2
@ -1598,7 +1598,7 @@ source = { git = "https://github.com/jaredramirez/tree-sitter-rescript", rev = "
|
||||
name = "erlang"
|
||||
scope = "source.erlang"
|
||||
injection-regex = "erl(ang)?"
|
||||
file-types = ["erl", "hrl", "app", { glob = "rebar.config" }, { glob = "rebar.lock" }]
|
||||
file-types = ["erl", "hrl", "app", { glob = "rebar.config" }, { glob = "rebar.lock" }, { glob = "*.app.src" }]
|
||||
roots = ["rebar.config"]
|
||||
shebangs = ["escript"]
|
||||
comment-token = "%%"
|
||||
@ -1615,7 +1615,7 @@ language-servers = [ "erlang-ls" ]
|
||||
|
||||
[[grammar]]
|
||||
name = "erlang"
|
||||
source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "ce0ed253d72c199ab93caba7542b6f62075339c4" }
|
||||
source = { git = "https://github.com/the-mikedavis/tree-sitter-erlang", rev = "731e50555a51f0d8635992b0e60dc98cc47a58d7" }
|
||||
|
||||
[[language]]
|
||||
name = "kotlin"
|
||||
|
@ -145,8 +145,9 @@
|
||||
((atom) @constant.builtin.boolean
|
||||
(#match? @constant.builtin.boolean "^(true|false)$"))
|
||||
(atom) @string.special.symbol
|
||||
(string) @string
|
||||
[(string) (sigil)] @string
|
||||
(character) @constant.character
|
||||
(escape_sequence) @constant.character.escape
|
||||
|
||||
(integer) @constant.numeric.integer
|
||||
(float) @constant.numeric.float
|
||||
|
Loading…
Reference in New Issue
Block a user