blob: e7aff60ff69cca363b5fdd708ca10f33841ba6ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---@brief
---
--- https://github.com/nolanderc/glasgow
---
--- Provides language features for WGSL (WebGPU Shading Language):
--- - Completions:
--- - Local functions/variables/types.
--- - Fields and swizzles.
--- - Builtin types and functions (`dot`, `reflect`, `textureSample`, `vec3`, `mat4x2`, etc.)
--- - Hover Documentation:
--- - Function signatures.
--- - Variable types.
--- - Includes builtin types and functions. Text is taken from the WGSL specification.
--- - Goto Definition
--- - Find all References
--- - Rename
--- - Formatter
---
--- `glasgow` can be installed via `cargo`:
--- ```sh
--- cargo install glasgow
--- ```
return {
cmd = { 'glasgow' },
filetypes = { 'wgsl' },
root_markers = { '.git' },
settings = {},
}
|