nvim/pack/acp/start/nvim-lspconfig/lua/lspconfig/server_configurations/veridian.lua

24 lines
627 B
Lua
Raw Normal View History

2024-04-06 13:39:53 +00:00
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'veridian' },
filetypes = { 'systemverilog', 'verilog' },
root_dir = util.find_git_ancestor,
},
docs = {
description = [[
https://github.com/vivekmalneedi/veridian
A SystemVerilog LanguageServer.
Download the latest release for your OS from the releases page
# install with slang feature, if C++17 compiler is available
cargo install --git https://github.com/vivekmalneedi/veridian.git --all-features
# install if C++17 compiler is not available
cargo install --git https://github.com/vivekmalneedi/veridian.git
]],
},
}