Regenerate nvim config
This commit is contained in:
@ -0,0 +1 @@
|
||||
(reduction) @fold
|
||||
@ -0,0 +1,36 @@
|
||||
; Keywords
|
||||
[
|
||||
"eval"
|
||||
"let"
|
||||
] @keyword
|
||||
|
||||
; Function
|
||||
(function) @function
|
||||
|
||||
; Method
|
||||
(method) @function.method
|
||||
|
||||
; Parameter
|
||||
(parameter) @variable.parameter
|
||||
|
||||
; Variables
|
||||
(identifier) @variable
|
||||
|
||||
; Operators
|
||||
[
|
||||
"\\"
|
||||
"->"
|
||||
"="
|
||||
(step)
|
||||
] @operator
|
||||
|
||||
; Punctuation
|
||||
[
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
":" @punctuation.delimiter
|
||||
|
||||
; Comments
|
||||
(comment) @comment @spell
|
||||
@ -0,0 +1,6 @@
|
||||
(reduction) @indent.begin
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
] @indent.auto
|
||||
@ -0,0 +1,2 @@
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
12
config/neovim/store/nvim-treesitter/queries/elsa/locals.scm
Normal file
12
config/neovim/store/nvim-treesitter/queries/elsa/locals.scm
Normal file
@ -0,0 +1,12 @@
|
||||
[
|
||||
(source_file)
|
||||
(reduction)
|
||||
] @local.scope
|
||||
|
||||
(identifier) @local.reference
|
||||
|
||||
(function) @local.definition.function
|
||||
|
||||
(method) @local.definition.method
|
||||
|
||||
(parameter) @local.definition.parameter
|
||||
Reference in New Issue
Block a user