mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
feat: add elsa
This commit is contained in:
parent
cda8b291ef
commit
cbb43a64a3
4 changed files with 53 additions and 0 deletions
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