feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,60 @@
(byte) @constant
[
(hexadecimal)
(integer)
(address)
] @number
; [
; "file" "format"
; "File" "Offset:"
; "discriminator"
; ] @none
"Disassembly of section " @markup.heading
(section_address) @string.special
(identifier) @variable
(code_location
(identifier) @function.call)
(header
(identifier) @keyword)
(disassembly_section_label
(identifier) @module)
(disassembly_section
(identifier) @module)
[
(file_offset)
(discriminator)
] @variable.member
(file_path) @string.special.path
(instruction) @function
(bad_instruction) @comment.warning
(label) @label
[
"<"
">"
] @punctuation.special
[
"("
")"
] @punctuation.bracket
[
"+"
":"
] @punctuation.delimiter
(comment) @comment.documentation

View 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"))