mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add additional m68k queries
This commit is contained in:
parent
fa6c6f3535
commit
e49396bee1
2 changed files with 23 additions and 0 deletions
1
queries/m68k/injections.scm
Normal file
1
queries/m68k/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(comment) @comment
|
||||
22
queries/m68k/locals.scm
Normal file
22
queries/m68k/locals.scm
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
(macro_definition
|
||||
name: (symbol) @definition.macro)
|
||||
|
||||
(symbol_assignment
|
||||
name: (symbol) @definition.var)
|
||||
|
||||
(label
|
||||
name: (symbol) @definition.constant)
|
||||
(symbol_definition
|
||||
name: (symbol) @definition.constant)
|
||||
(offset_definition
|
||||
name: (symbol) @definition.constant)
|
||||
(register_definition
|
||||
name: (symbol) @definition.constant)
|
||||
(register_list_definition
|
||||
name: (symbol) @definition.constant)
|
||||
|
||||
(external_reference
|
||||
symbols: (symbol_list
|
||||
(symbol) @definition.import))
|
||||
|
||||
(symbol) @reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue