mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
71
runtime/queries/m68k/highlights.scm
Normal file
71
runtime/queries/m68k/highlights.scm
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
(symbol) @variable
|
||||
|
||||
(label name: (symbol) @label)
|
||||
|
||||
[
|
||||
(instruction_mnemonic)
|
||||
(directive_mnemonic)
|
||||
] @function.builtin
|
||||
|
||||
(include (directive_mnemonic) @include)
|
||||
(include_bin (directive_mnemonic) @include)
|
||||
(include_dir (directive_mnemonic) @include)
|
||||
|
||||
|
||||
(size) @attribute
|
||||
|
||||
(macro_definition name: (symbol) @function.macro)
|
||||
(macro_call name: (symbol) @function.macro)
|
||||
|
||||
[
|
||||
(path)
|
||||
(string_literal)
|
||||
] @string
|
||||
|
||||
[
|
||||
(decimal_literal)
|
||||
(hexadecimal_literal)
|
||||
(octal_literal)
|
||||
(binary_literal)
|
||||
] @number
|
||||
|
||||
[
|
||||
(reptn)
|
||||
(carg)
|
||||
(narg)
|
||||
(macro_arg)
|
||||
] @variable.builtin
|
||||
|
||||
[
|
||||
(control_mnemonic)
|
||||
(address_register)
|
||||
(data_register)
|
||||
(float_register)
|
||||
(named_register)
|
||||
] @keyword
|
||||
|
||||
(repeat (control_mnemonic) @repeat)
|
||||
(conditional (control_mnemonic) @conditional)
|
||||
|
||||
(comment) @comment
|
||||
|
||||
[
|
||||
(operator)
|
||||
"="
|
||||
"#"
|
||||
] @operator
|
||||
|
||||
[
|
||||
"."
|
||||
","
|
||||
"/"
|
||||
"-"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
")+"
|
||||
] @punctuation.bracket
|
||||
|
||||
(section) @namespace
|
||||
Loading…
Add table
Add a link
Reference in a new issue