mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat: add elsa
This commit is contained in:
parent
cda8b291ef
commit
cbb43a64a3
4 changed files with 53 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
||||||
- [x] [eex](https://github.com/connorlay/tree-sitter-eex) (maintained by @connorlay)
|
- [x] [eex](https://github.com/connorlay/tree-sitter-eex) (maintained by @connorlay)
|
||||||
- [x] [elixir](https://github.com/elixir-lang/tree-sitter-elixir) (maintained by @connorlay)
|
- [x] [elixir](https://github.com/elixir-lang/tree-sitter-elixir) (maintained by @connorlay)
|
||||||
- [x] [elm](https://github.com/elm-tooling/tree-sitter-elm) (maintained by @zweimach)
|
- [x] [elm](https://github.com/elm-tooling/tree-sitter-elm) (maintained by @zweimach)
|
||||||
|
- [x] [elsa](https://github.com/glapa-grossklag/tree-sitter-elsa) (maintained by @glapa-grossklag, @amaanq)
|
||||||
- [x] [elvish](https://github.com/ckafi/tree-sitter-elvish) (maintained by @ckafi)
|
- [x] [elvish](https://github.com/ckafi/tree-sitter-elvish) (maintained by @ckafi)
|
||||||
- [ ] [embedded_template](https://github.com/tree-sitter/tree-sitter-embedded-template)
|
- [ ] [embedded_template](https://github.com/tree-sitter/tree-sitter-embedded-template)
|
||||||
- [x] [erlang](https://github.com/WhatsApp/tree-sitter-erlang) (maintained by @filmor)
|
- [x] [erlang](https://github.com/WhatsApp/tree-sitter-erlang) (maintained by @filmor)
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,9 @@
|
||||||
"elm": {
|
"elm": {
|
||||||
"revision": "28bb193640d916dfaf947912c1413cebb0484841"
|
"revision": "28bb193640d916dfaf947912c1413cebb0484841"
|
||||||
},
|
},
|
||||||
|
"elsa": {
|
||||||
|
"revision": "86fb3dbe8462f299dfc9a93c718a11363d69e90f"
|
||||||
|
},
|
||||||
"elvish": {
|
"elvish": {
|
||||||
"revision": "f32711e31e987fd5c2c002f3daba02f25c68672f"
|
"revision": "f32711e31e987fd5c2c002f3daba02f25c68672f"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -201,6 +201,14 @@ list.d = {
|
||||||
experimental = true,
|
experimental = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.elsa = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/glapa-grossklag/tree-sitter-elsa",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@glapa-grossklag", "@amaanq" },
|
||||||
|
}
|
||||||
|
|
||||||
list.glsl = {
|
list.glsl = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/theHamsta/tree-sitter-glsl",
|
url = "https://github.com/theHamsta/tree-sitter-glsl",
|
||||||
|
|
|
||||||
41
queries/elsa/highlights.scm
Normal file
41
queries/elsa/highlights.scm
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
; Keywords
|
||||||
|
|
||||||
|
[
|
||||||
|
"eval"
|
||||||
|
"let"
|
||||||
|
] @keyword
|
||||||
|
|
||||||
|
; Function
|
||||||
|
|
||||||
|
(function) @function
|
||||||
|
|
||||||
|
; Method
|
||||||
|
|
||||||
|
(method) @method
|
||||||
|
|
||||||
|
; Parameter
|
||||||
|
|
||||||
|
(parameter) @parameter
|
||||||
|
|
||||||
|
; Variables
|
||||||
|
|
||||||
|
(identifier) @variable
|
||||||
|
|
||||||
|
; Operators
|
||||||
|
|
||||||
|
[
|
||||||
|
"\\"
|
||||||
|
"->"
|
||||||
|
"="
|
||||||
|
(step)
|
||||||
|
] @operator
|
||||||
|
|
||||||
|
; Punctuation
|
||||||
|
|
||||||
|
["(" ")"] @punctuation.bracket
|
||||||
|
|
||||||
|
":" @punctuation.delimiter
|
||||||
|
|
||||||
|
; Comments
|
||||||
|
|
||||||
|
(comment) @comment
|
||||||
Loading…
Add table
Add a link
Reference in a new issue