mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
30
runtime/queries/disassembly/highlights.scm
Normal file
30
runtime/queries/disassembly/highlights.scm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
(byte) @constant
|
||||
|
||||
[
|
||||
(address)
|
||||
(hexadecimal)
|
||||
(integer)
|
||||
] @number
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
(bad_instruction) @comment.warning
|
||||
|
||||
(code_location
|
||||
(identifier) @function.call)
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(instruction) @function
|
||||
|
||||
(memory_dump) @string
|
||||
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.special
|
||||
|
||||
[
|
||||
"+"
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
6
runtime/queries/disassembly/injections.scm
Normal file
6
runtime/queries/disassembly/injections.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
; TODO: https://github.com/nvim-treesitter/nvim-treesitter/pull/5548#issuecomment-1773707396
|
||||
;
|
||||
; To be added once a compatible Assembly parser is merged into nvim-treesitter
|
||||
;
|
||||
; ((instruction) @injection.content
|
||||
; (#set! injection.language "asm"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue