mirror of
https://github.com/DingDean/wgsl.vim
synced 2024-09-16 21:44:03 +02:00
Add type "type" and remove in/out storage qualifiers
This commit is contained in:
parent
cb0f33e9a9
commit
986e4f61ee
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.swp
|
|
@ -16,10 +16,11 @@ syn keyword wgslTypes mat2x2 mat2x3 mat2x4 mat3x2 mat3x3 mat3x4 mat4x2 mat4x3 ma
|
|||
syn keyword wgslTypes array
|
||||
" TODO: match struct
|
||||
syn keyword wgslTypes struct
|
||||
syn keyword wgslTypes type
|
||||
" TODO: since token 'handle' is reserved and it's never used in a wgsl
|
||||
" program, shoud we set this to a keyword?
|
||||
syn keyword wgslStorageClasses handle
|
||||
syn keyword wgslStorageClasses in out function private workgroup uniform storage handle
|
||||
syn keyword wgslStorageClasses function private workgroup uniform storage handle
|
||||
syn keyword wgslPointerTypes ptr
|
||||
|
||||
" Texel Format
|
||||
|
|
Loading…
Reference in a new issue