aboutsummaryrefslogtreecommitdiffstats
path: root/queries/templ
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2024-01-10 18:17:35 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commit505a0e74cb82dfd1938dcc0eb2526c24abc345e2 (patch)
treeb71b8856fb6603a5067c2b23bbe0f88f01526ca6 /queries/templ
parentfix(highlights): improve member/property distinction (diff)
downloadnvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar.gz
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar.bz2
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar.lz
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar.xz
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.tar.zst
nvim-treesitter-505a0e74cb82dfd1938dcc0eb2526c24abc345e2.zip
fix(css): make the highlights more sensible
Diffstat (limited to 'queries/templ')
-rw-r--r--queries/templ/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/templ/highlights.scm b/queries/templ/highlights.scm
index f8e9d2359..628b5bf15 100644
--- a/queries/templ/highlights.scm
+++ b/queries/templ/highlights.scm
@@ -23,10 +23,10 @@
(css_identifier) @function
(css_property
- name: (css_property_name) @attribute)
+ name: (css_property_name) @property)
(css_property
- value: (css_property_value) @attribute)
+ value: (css_property_value) @string)
[
(expression)