mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-11 02:15:48 +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")]],
|
||
|
},
|
||
|
},
|
||
|
}
|