aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-01-06 02:11:28 +0100
committerSantos Gallegos <stsewd@protonmail.com>2021-01-06 09:12:32 -0500
commit40588da97ca5de8db025f96abb4c1efb03f590e9 (patch)
treebf0da92bda5c2e6e1aeca3db5eeba2d652c1326e /queries
parenthtml highlights: add "<!" to tag.delimiters (diff)
downloadnvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar.gz
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar.bz2
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar.lz
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar.xz
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.tar.zst
nvim-treesitter-40588da97ca5de8db025f96abb4c1efb03f590e9.zip
Remove usages of `@embedded` in highlights
Diffstat (limited to 'queries')
-rw-r--r--queries/c/highlights.scm1
-rw-r--r--queries/javascript/highlights.scm2
-rw-r--r--queries/python/highlights.scm2
-rw-r--r--queries/ruby/highlights.scm4
4 files changed, 2 insertions, 7 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index c73405aca..a27c38135 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -117,7 +117,6 @@
(preproc_arg)
(preproc_defined)
] @function.macro
-; TODO (preproc_arg) @embedded
(((field_expression
(field_identifier) @property)) @_parent
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm
index 15d3361a5..09d172b6b 100644
--- a/queries/javascript/highlights.scm
+++ b/queries/javascript/highlights.scm
@@ -144,7 +144,7 @@
(template_substitution
"${" @punctuation.special
- "}" @punctuation.special) @embedded
+ "}" @punctuation.special) @none
"..." @punctuation.special
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 23ec979f0..2d845c4c0 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -204,7 +204,7 @@
(interpolation
"{" @punctuation.special
- "}" @punctuation.special) @embedded
+ "}" @punctuation.special)
["," "." ":" (ellipsis)] @punctuation.delimiter
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm
index 2fef97aa8..cef7fa767 100644
--- a/queries/ruby/highlights.scm
+++ b/queries/ruby/highlights.scm
@@ -153,10 +153,6 @@
(false)
] @boolean
-(interpolation
- "#{" @punctuation.special
- "}" @punctuation.special) @embedded
-
(comment) @comment
; Operators