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/ron | |
| 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/ron')
| -rw-r--r-- | queries/ron/folds.scm | 7 | ||||
| -rw-r--r-- | queries/ron/highlights.scm | 62 | ||||
| -rw-r--r-- | queries/ron/indents.scm | 21 | ||||
| -rw-r--r-- | queries/ron/injections.scm | 5 | ||||
| -rw-r--r-- | queries/ron/locals.scm | 25 |
5 files changed, 0 insertions, 120 deletions
diff --git a/queries/ron/folds.scm b/queries/ron/folds.scm deleted file mode 100644 index ae79583ea..000000000 --- a/queries/ron/folds.scm +++ /dev/null @@ -1,7 +0,0 @@ -[ - (array) - (map) - (tuple) - (struct) - (block_comment) -] @fold diff --git a/queries/ron/highlights.scm b/queries/ron/highlights.scm deleted file mode 100644 index 96507323b..000000000 --- a/queries/ron/highlights.scm +++ /dev/null @@ -1,62 +0,0 @@ -; Structs -;------------ -(enum_variant) @constant - -(struct_entry - (identifier) @variable.member) - -(struct_entry - (enum_variant - (identifier) @constant)) - -(struct_name - (identifier)) @type - -(unit_struct) @type.builtin - -; Literals -;------------ -(string) @string - -(boolean) @boolean - -(integer) @number - -(float) @number.float - -(char) @character - -; Comments -;------------ -[ - (line_comment) - (block_comment) -] @comment @spell - -; Punctuation -;------------ -[ - "{" - "}" -] @punctuation.bracket - -[ - "(" - ")" -] @punctuation.bracket - -[ - "[" - "]" -] @punctuation.bracket - -[ - "," - ":" -] @punctuation.delimiter - -"-" @operator - -; Special -;------------ -(escape_sequence) @string.escape diff --git a/queries/ron/indents.scm b/queries/ron/indents.scm deleted file mode 100644 index 689d01fac..000000000 --- a/queries/ron/indents.scm +++ /dev/null @@ -1,21 +0,0 @@ -[ - (array) - (map) - (tuple) - (struct) -] @indent.begin - -[ - "{" - "}" -] @indent.branch - -[ - "(" - ")" -] @indent.branch - -[ - "[" - "]" -] @indent.branch diff --git a/queries/ron/injections.scm b/queries/ron/injections.scm deleted file mode 100644 index 3cd6aac8e..000000000 --- a/queries/ron/injections.scm +++ /dev/null @@ -1,5 +0,0 @@ -([ - (line_comment) - (block_comment) -] @injection.content - (#set! injection.language "comment")) diff --git a/queries/ron/locals.scm b/queries/ron/locals.scm deleted file mode 100644 index 81e38d5ed..000000000 --- a/queries/ron/locals.scm +++ /dev/null @@ -1,25 +0,0 @@ -(source_file) @local.scope - -(source_file - (array) @local.scope) - -(source_file - (map) @local.scope) - -(source_file - (struct) @local.scope) - -(source_file - (tuple) @local.scope) - -(identifier) @local.reference - -(struct_entry - (identifier) @local.definition.field) - -(struct_entry - (identifier) @local.definition.enum - (enum_variant)) - -(struct - (struct_name) @local.definition.type) |
