mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 09:40:06 +08:00
25 lines
469 B
Lua
25 lines
469 B
Lua
local configs = require 'lspconfig/configs'
|
|
local util = require 'lspconfig/util'
|
|
|
|
local server_name = 'svls'
|
|
|
|
configs[server_name] = {
|
|
default_config = {
|
|
cmd = { 'svls' },
|
|
filetypes = { 'verilog', 'systemverilog' },
|
|
root_dir = util.root_pattern '.git',
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/dalance/svls
|
|
|
|
Language server for verilog and SystemVerilog
|
|
|
|
`svls` can be installed via `cargo`:
|
|
```sh
|
|
cargo install svls
|
|
```
|
|
]],
|
|
},
|
|
}
|