mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
feat(xresources): add parser and queries (#7260)
This commit is contained in:
parent
9a94cc23cb
commit
3ba21f96a4
6 changed files with 114 additions and 0 deletions
12
queries/xresources/locals.scm
Normal file
12
queries/xresources/locals.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(define_directive
|
||||
name: (identifier) @local.definition.macro)
|
||||
|
||||
(define_function_directive
|
||||
name: (identifier) @local.definition.macro)
|
||||
|
||||
(parameters
|
||||
(identifier) @local.definition.parameter)
|
||||
|
||||
(identifier) @local.reference
|
||||
|
||||
(resources) @local.scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue