nvim/pack/acp/opt/nvim-lspconfig/lua/lspconfig/server_configurations/svls.lua

25 lines
454 B
Lua
Raw Normal View History

2022-01-10 11:08:46 +00:00
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'svls' },
filetypes = { 'verilog', 'systemverilog' },
root_dir = util.find_git_ancestor,
},
docs = {
description = [[
https://github.com/dalance/svls
Language server for verilog and SystemVerilog
`svls` can be installed via `cargo`:
```sh
cargo install svls
```
]],
default_config = {
root_dir = [[util.find_git_ancestor]],
},
},
}