Crates.io | glasgow |
lib.rs | glasgow |
version | 0.3.1 |
source | src |
created_at | 2024-07-18 18:49:55.487105 |
updated_at | 2024-08-24 13:57:02.779704 |
description | Language Server for WGSL (WebGPU Shading Language) |
homepage | |
repository | https://github.com/nolanderc/glasgow |
max_upload_size | |
id | 1307878 |
size | 302,422 |
A Language Server for WGSL (WebGPU Shading Language)
Completions:
dot
, reflect
, textureSample
, vec3
, mat4x2
, etc.)Hover Documentation:
Goto Definition
Find all References
Rename
Formatter
Support for non-standard #include
/#import
directives.
First install the language server using cargo
:
cargo install glasgow
Then follow the editor-specific instructions below:
Install the glasgow
extension from the
marketplace.
First, install nvim-lspconfig.
Then it is as simple as enabling the glasgow
configuration:
local lspconfig = require 'lspconfig'
lspconfig.glasgow.setup {}