mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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:
parent
4a9f57971a
commit
f2204e58db
6 changed files with 11 additions and 6 deletions
|
|
@ -1,2 +1,3 @@
|
|||
; inherits wgsl
|
||||
; inherits: wgsl
|
||||
|
||||
(preproc_ifdef) @fold
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
; inherits wgsl
|
||||
; inherits: wgsl
|
||||
|
||||
[
|
||||
"virtual"
|
||||
"override"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
; inherits wgsl
|
||||
; inherits: wgsl
|
||||
|
||||
[
|
||||
"#ifdef"
|
||||
"#ifndef"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue