mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat: add Linkerscript (#5693)
This commit is contained in:
parent
b016211057
commit
d876296476
8 changed files with 193 additions and 0 deletions
15
queries/linkerscript/locals.scm
Normal file
15
queries/linkerscript/locals.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
; References
|
||||
|
||||
[
|
||||
(symbol)
|
||||
(filename)
|
||||
(quoted_symbol)
|
||||
] @reference
|
||||
|
||||
; Definitions
|
||||
|
||||
(output_section name: (symbol) @definition.var)
|
||||
|
||||
(memory_command name: (symbol) @definition.var)
|
||||
|
||||
(phdrs_command name: (symbol) @definition.var)
|
||||
Loading…
Add table
Add a link
Reference in a new issue