mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
fix: remove ftdetect, Fix struct highlight for wgsl
This commit is contained in:
parent
1a58c71b73
commit
cc83e23a2a
3 changed files with 2 additions and 3 deletions
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.wgsl set filetype=wgsl
|
||||
|
|
@ -1031,7 +1031,7 @@ list.wgsl = {
|
|||
files = { "src/parser.c" },
|
||||
},
|
||||
maintainers = { "@szebniok" },
|
||||
filetype = "wgsl"
|
||||
filetype = "wgsl",
|
||||
}
|
||||
|
||||
local M = {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
(variable_identifier_declaration (identifier) @parameter))
|
||||
|
||||
(struct_declaration
|
||||
(identifier) @structure)
|
||||
(identifier) @type)
|
||||
|
||||
(struct_declaration
|
||||
(struct_member (variable_identifier_declaration (identifier) @field)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue