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
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"