mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2025-12-24 23:11:00 +01:00
31 lines
792 B
Lua
31 lines
792 B
Lua
---@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
|
|
--- ```
|
|
|
|
---@type vim.lsp.Config
|
|
return {
|
|
cmd = { 'glasgow' },
|
|
filetypes = { 'wgsl' },
|
|
root_markers = { '.git' },
|
|
settings = {},
|
|
}
|