mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
feat: add objdump to the supported languages (#5548)
This commit is contained in:
parent
07dbb3845c
commit
0179a89656
5 changed files with 53 additions and 0 deletions
35
queries/objdump/highlights.scm
Normal file
35
queries/objdump/highlights.scm
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
(byte) @constant
|
||||
|
||||
[
|
||||
(hexadecimal)
|
||||
(integer)
|
||||
(address)
|
||||
] @number
|
||||
|
||||
[
|
||||
"file" "format"
|
||||
"File" "Offset:"
|
||||
"discriminator"
|
||||
] @text
|
||||
"Disassembly of section " @text.title
|
||||
|
||||
(section_address) @number @text.underline
|
||||
|
||||
(identifier) @variable
|
||||
(code_location (identifier) @function.call)
|
||||
(header (identifier) @keyword)
|
||||
(disassembly_section_label (identifier) @namespace)
|
||||
(disassembly_section (identifier) @namespace)
|
||||
|
||||
[(file_offset) (discriminator)] @field
|
||||
|
||||
(file_path) @string
|
||||
(instruction) @function
|
||||
(bad_instruction) @text.warning
|
||||
(label) @label
|
||||
|
||||
["<" ">"] @punctuation.special
|
||||
["(" ")"] @punctuation.bracket
|
||||
["+" ":"] @punctuation.delimiter
|
||||
|
||||
(comment) @comment.documentation
|
||||
Loading…
Add table
Add a link
Reference in a new issue