aboutsummaryrefslogtreecommitdiffstats
path: root/queries/surface
diff options
context:
space:
mode:
authorClay <connorlay@pm.me>2021-08-15 10:42:10 -0700
committerThomas Vigouroux <tomvig38@gmail.com>2021-08-18 14:07:59 +0200
commitcaf14b70eab927d0740d12088f378da541eff7e3 (patch)
tree950cbb4c4e6780dab8d1d25e2425155dea81e2f0 /queries/surface
parentAdd HEEx language support, add missing commentstrings (diff)
downloadnvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar.gz
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar.bz2
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar.lz
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar.xz
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.tar.zst
nvim-treesitter-caf14b70eab927d0740d12088f378da541eff7e3.zip
Update surface version, fix highlights
Diffstat (limited to 'queries/surface')
-rw-r--r--queries/surface/highlights.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/queries/surface/highlights.scm b/queries/surface/highlights.scm
index 5cdaa977c..0144193c9 100644
--- a/queries/surface/highlights.scm
+++ b/queries/surface/highlights.scm
@@ -8,7 +8,7 @@
(attribute_name) @tag.attribute
; Attributes are highlighted as strings
-(attribute_value) @string
+(quoted_attribute_value) @string
; Surface blocks are highlighted as keywords
[
@@ -25,14 +25,12 @@
"/>"
"{"
"}"
+ "<!--"
+ "-->"
+ "{!--"
+ "--}"
] @tag.delimiter
-; Expressions are similar to string interpolation, and are highloghted as such
-(expression) @punctuation.special
-
-; Expressions should be highlighted as Elixir, fallback to special strings
-(expression_value) @string.special
-
; Surface tags are highlighted as HTML
(tag_name) @tag