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

24 lines
454 B
Lua

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]],
},
},
}