mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(circom): add parser and queries
This commit is contained in:
parent
c56507f6a1
commit
be17791f86
6 changed files with 175 additions and 0 deletions
12
queries/circom/locals.scm
Normal file
12
queries/circom/locals.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(function_definition) @local.scope
|
||||
|
||||
(template_definition) @local.scope
|
||||
|
||||
(main_component_definition) @local.scope
|
||||
|
||||
(block_statement) @local.scope
|
||||
|
||||
(parameter
|
||||
name: (identifier) @local.definition) @local.definition
|
||||
|
||||
(identifier) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue