mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 00:00:03 +08:00
23 lines
472 B
Lua
Vendored
23 lines
472 B
Lua
Vendored
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'vls' },
|
|
filetypes = { 'vlang' },
|
|
root_dir = util.root_pattern('v.mod', '.git'),
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/vlang/vls
|
|
|
|
V language server.
|
|
|
|
`v-language-server` can be installed by following the instructions [here](https://github.com/vlang/vls#installation).
|
|
```
|
|
]],
|
|
default_config = {
|
|
root_dir = [[root_pattern("v.mod", ".git")]],
|
|
},
|
|
},
|
|
}
|