fix: use proper ; inherits syntax in queries (#8226)

Some queries don't add a colon after the `inherits` keyword, which nvim
could handle but `ts_query_ls` could not, causing it to give incomplete
diagnostics.
This commit is contained in:
Riley Bruins 2025-10-24 18:47:39 -07:00 committed by GitHub
parent 4a9f57971a
commit f2204e58db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 6 deletions

View file

@ -1,4 +1,5 @@
; inherits html_tags
; inherits: html_tags
(element
(start_tag
(tag_name) @_py_script)

View file

@ -1 +1 @@
; inherits python
; inherits: python

View file

@ -1,4 +1,5 @@
; inherits html_tags
; inherits: html_tags
; <script lang="css">
((style_element
(start_tag

View file

@ -1,2 +1,3 @@
; inherits wgsl
; inherits: wgsl
(preproc_ifdef) @fold

View file

@ -1,4 +1,5 @@
; inherits wgsl
; inherits: wgsl
[
"virtual"
"override"

View file

@ -1,4 +1,5 @@
; inherits wgsl
; inherits: wgsl
[
"#ifdef"
"#ifndef"