mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,38 +1,45 @@
|
|||
; Scopes
|
||||
|
||||
[
|
||||
(source_file)
|
||||
(circuit)
|
||||
(module)
|
||||
|
||||
(else)
|
||||
(when)
|
||||
] @local.scope
|
||||
|
||||
; References
|
||||
|
||||
(identifier) @local.reference
|
||||
|
||||
; Definitions
|
||||
(port
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(port (identifier) @local.definition.field)
|
||||
(wire
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(wire (identifier) @local.definition.field)
|
||||
(cmem
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(cmem (identifier) @local.definition.field)
|
||||
(smem
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(smem (identifier) @local.definition.field)
|
||||
(memory
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(memory (identifier) @local.definition.field)
|
||||
(register
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(register (identifier) @local.definition.field)
|
||||
(circuit
|
||||
(identifier) @local.definition.namespace)
|
||||
|
||||
(circuit (identifier) @local.definition.namespace)
|
||||
(module
|
||||
(identifier) @local.definition.namespace)
|
||||
|
||||
(module (identifier) @local.definition.namespace)
|
||||
(parameter
|
||||
(identifier) @local.definition.parameter)
|
||||
|
||||
(parameter (identifier) @local.definition.parameter)
|
||||
(rdwr
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(rdwr (identifier) @local.definition.var)
|
||||
|
||||
(node (identifier) @local.definition.var)
|
||||
(node
|
||||
(identifier) @local.definition.var)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue