aboutsummaryrefslogtreecommitdiffstats
path: root/queries/pug
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/pug
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/pug')
-rw-r--r--queries/pug/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/pug/highlights.scm b/queries/pug/highlights.scm
index 3645a7e3e..8441b737e 100644
--- a/queries/pug/highlights.scm
+++ b/queries/pug/highlights.scm
@@ -19,7 +19,7 @@
(id) @constant
-(class) @property
+(class) @type
(doctype) @keyword.directive
@@ -56,7 +56,7 @@
(block_prepend
(keyword)+ @keyword)
-(block_name) @type
+(block_name) @module
(conditional
(keyword) @keyword.conditional)