Replace '; inherits <language>' in treesitter queries with <language> queries instead of appending them (#2470)

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
This commit is contained in:
Philipp Mildenberger 2022-07-22 03:28:32 +02:00 committed by GitHub
parent 52bb1103f8
commit b6c700fce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 21 deletions

View file

@ -5,7 +5,7 @@
(#eq? @function "#match?"))
; highlight inheritance comments
((query . (comment) @keyword.directive)
(((comment) @keyword.directive)
(#match? @keyword.directive "^; +inherits *:"))
[