mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +03:00
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:
parent
52bb1103f8
commit
b6c700fce9
2 changed files with 7 additions and 21 deletions
|
@ -5,7 +5,7 @@
|
|||
(#eq? @function "#match?"))
|
||||
|
||||
; highlight inheritance comments
|
||||
((query . (comment) @keyword.directive)
|
||||
(((comment) @keyword.directive)
|
||||
(#match? @keyword.directive "^; +inherits *:"))
|
||||
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue