diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2024-01-20 16:13:57 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-24 13:47:19 +0100 |
| commit | aa0c60ca5a18e5d62ea467947303d6894550de4a (patch) | |
| tree | ebc10734c415a5a0c5fa596e0f0f57748c779d4f | |
| parent | feat(latex): operator highlights for _ and ^ (diff) | |
| download | nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar.gz nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar.bz2 nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar.lz nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar.xz nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.tar.zst nvim-treesitter-aa0c60ca5a18e5d62ea467947303d6894550de4a.zip | |
fix(highlights): clean up tag highlights
| -rw-r--r-- | queries/cooklang/highlights.scm | 18 | ||||
| -rw-r--r-- | queries/godot_resource/highlights.scm | 3 | ||||
| -rw-r--r-- | queries/thrift/highlights.scm | 2 |
3 files changed, 10 insertions, 13 deletions
diff --git a/queries/cooklang/highlights.scm b/queries/cooklang/highlights.scm index cd4eedade..ca870dd47 100644 --- a/queries/cooklang/highlights.scm +++ b/queries/cooklang/highlights.scm @@ -1,22 +1,22 @@ (metadata) @comment (ingredient - "@" @tag - (name)? @markup.heading + "@" @punctuation.delimiter + (name)? @string.special.symbol (amount (quantity)? @number - (units)? @tag.attribute)?) + (units)? @constant)?) (timer - "~" @tag - (name)? @markup.heading + "~" @punctuation.delimiter + (name)? @string.special.symbol (amount (quantity)? @number - (units)? @tag.attribute)?) + (units)? @constant)?) (cookware - "#" @tag - (name)? @markup.heading + "#" @punctuation.delimiter + (name)? @string.special.symbol (amount (quantity)? @number - (units)? @tag.attribute)?) + (units)? @constant)?) diff --git a/queries/godot_resource/highlights.scm b/queries/godot_resource/highlights.scm index fbe297839..764818234 100644 --- a/queries/godot_resource/highlights.scm +++ b/queries/godot_resource/highlights.scm @@ -22,9 +22,6 @@ [ "[" "]" -] @tag.delimiter - -[ "(" ")" "{" diff --git a/queries/thrift/highlights.scm b/queries/thrift/highlights.scm index 984e702e4..3df9b5b80 100644 --- a/queries/thrift/highlights.scm +++ b/queries/thrift/highlights.scm @@ -88,7 +88,7 @@ ; Namespace (namespace_declaration - (namespace_scope) @tag + (namespace_scope) @string.special [ (namespace) @module (_ |
