mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-10 12:55:49 +08:00
22 lines
501 B
Lua
22 lines
501 B
Lua
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'v-analyzer' },
|
|
filetypes = { 'v', 'vsh', 'vv' },
|
|
root_dir = util.root_pattern('v.mod', '.git'),
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/v-analyzer/v-analyzer
|
|
|
|
V language server.
|
|
|
|
`v-analyzer` can be installed by following the instructions [here](https://github.com/v-analyzer/v-analyzer#installation).
|
|
]],
|
|
default_config = {
|
|
root_dir = [[root_pattern("v.mod", ".git")]],
|
|
},
|
|
},
|
|
}
|