diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-06-12 09:54:30 -0600 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 692b051b09935653befdb8f7ba8afdb640adf17b (patch) | |
| tree | 167162b6b129ae04f68c5735078521a72917c742 /queries/pioasm | |
| parent | feat(c-family): inherit injections (diff) | |
| download | nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.gz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.bz2 nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.lz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.xz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.zst nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.zip | |
feat!: drop modules, general refactor and cleanup
Diffstat (limited to 'queries/pioasm')
| -rw-r--r-- | queries/pioasm/highlights.scm | 93 | ||||
| -rw-r--r-- | queries/pioasm/injections.scm | 15 |
2 files changed, 0 insertions, 108 deletions
diff --git a/queries/pioasm/highlights.scm b/queries/pioasm/highlights.scm deleted file mode 100644 index 325005928..000000000 --- a/queries/pioasm/highlights.scm +++ /dev/null @@ -1,93 +0,0 @@ -[ - (line_comment) - (block_comment) -] @comment @spell - -(label_decl) @label - -(string) @string - -(instruction - opcode: _ @function.call) - -[ - "pins" - "x" - "y" - "null" - "isr" - "osr" - "osre" - "status" - "pc" - "exec" -] @constant.builtin - -(wait_source - [ - "irq" - "gpio" - "pin" - ] @constant.builtin) - -(out_target - "pindirs" @constant.builtin) - -(set_target - "pindirs" @constant.builtin) - -(directive - "pindirs" @attribute) - -(condition - [ - "--" - "!=" - ] @operator) - -(expression - [ - "+" - "-" - "*" - "/" - "|" - "&" - "^" - "::" - ] @operator) - -(not) @operator - -[ - (optional) - (irq_modifiers) -] @keyword.modifier - -[ - "block" - "noblock" - "rel" -] @attribute - -[ - "iffull" - "ifempty" -] @keyword.conditional - -"public" @keyword.modifier - -(integer) @number - -(directive - (identifier) @variable) - -(directive - (symbol_def - (identifier) @variable)) - -(value - (identifier) @variable) - -(directive - directive: _ @keyword.directive) diff --git a/queries/pioasm/injections.scm b/queries/pioasm/injections.scm deleted file mode 100644 index 84d17cf2d..000000000 --- a/queries/pioasm/injections.scm +++ /dev/null @@ -1,15 +0,0 @@ -([ - (line_comment) - (block_comment) -] @injection.content - (#set! injection.language "comment")) - -((code_block - (code_block_language) @_language - (code_block_body) @injection.content) - (#eq? @_language "c-sdk") - (#set! injection.language "c")) - -(code_block - (code_block_language) @injection.language - (code_block_body) @injection.content) |
