forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added wgsl_analyzer server (chipsalliance#719)
- Loading branch information
Showing
6 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,6 +147,7 @@ local CORE_SERVERS = _.set_of { | |
"vls", | ||
"volar", | ||
"vuels", | ||
"wgsl_analyzer", | ||
"yamlls", | ||
"zk", | ||
"zls", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
local server = require "nvim-lsp-installer.server" | ||
local cargo = require "nvim-lsp-installer.core.managers.cargo" | ||
|
||
return function(name, root_dir) | ||
local homepage = "https://github.com/wgsl-analyzer/wgsl-analyzer" | ||
|
||
return server.Server:new { | ||
name = name, | ||
root_dir = root_dir, | ||
languages = { "wgsl" }, | ||
homepage = homepage, | ||
installer = cargo.crate("wgsl_analyzer", { | ||
git = homepage, | ||
}), | ||
default_options = { | ||
cmd_env = cargo.env(root_dir), | ||
}, | ||
} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters