aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorPhilipp Mildenberger2022-07-22 01:28:32 +0000
committerGitHub2022-07-22 01:28:32 +0000
commitb6c700fce9c13d883578f9cc5e81d624e9fbd9f8 (patch)
treeb5660b461dedf95de41232390abc8ea8844a5a90 /runtime
parent52bb1103f8137e5f7c42de6f79c13e2bfbcf7490 (diff)
Replace '; inherits <language>' in treesitter queries with <language> queries instead of appending them (#2470)
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/tsq/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/tsq/highlights.scm b/runtime/queries/tsq/highlights.scm
index c655b994..b59514bc 100644
--- a/runtime/queries/tsq/highlights.scm
+++ b/runtime/queries/tsq/highlights.scm
@@ -5,7 +5,7 @@
(#eq? @function "#match?"))
; highlight inheritance comments
-((query . (comment) @keyword.directive)
+(((comment) @keyword.directive)
(#match? @keyword.directive "^; +inherits *:"))
[