mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
feat(locals)!: switch to upstream captures
This commit is contained in:
parent
306367a7f4
commit
8fb218dbfd
95 changed files with 1154 additions and 1154 deletions
|
|
@ -7,32 +7,32 @@
|
|||
|
||||
(else)
|
||||
(when)
|
||||
] @scope
|
||||
] @local.scope
|
||||
|
||||
; References
|
||||
|
||||
(identifier) @reference
|
||||
(identifier) @local.reference
|
||||
|
||||
; Definitions
|
||||
|
||||
(port (identifier) @definition.field)
|
||||
(port (identifier) @local.definition.field)
|
||||
|
||||
(wire (identifier) @definition.field)
|
||||
(wire (identifier) @local.definition.field)
|
||||
|
||||
(cmem (identifier) @definition.field)
|
||||
(cmem (identifier) @local.definition.field)
|
||||
|
||||
(smem (identifier) @definition.field)
|
||||
(smem (identifier) @local.definition.field)
|
||||
|
||||
(memory (identifier) @definition.field)
|
||||
(memory (identifier) @local.definition.field)
|
||||
|
||||
(register (identifier) @definition.field)
|
||||
(register (identifier) @local.definition.field)
|
||||
|
||||
(circuit (identifier) @definition.namespace)
|
||||
(circuit (identifier) @local.definition.namespace)
|
||||
|
||||
(module (identifier) @definition.namespace)
|
||||
(module (identifier) @local.definition.namespace)
|
||||
|
||||
(parameter (identifier) @definition.parameter)
|
||||
(parameter (identifier) @local.definition.parameter)
|
||||
|
||||
(rdwr (identifier) @definition.var)
|
||||
(rdwr (identifier) @local.definition.var)
|
||||
|
||||
(node (identifier) @definition.var)
|
||||
(node (identifier) @local.definition.var)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue