mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 02:30:04 +08:00
23 lines
466 B
Lua
23 lines
466 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'flux-lsp' },
|
||
|
filetypes = { 'flux' },
|
||
|
root_dir = util.find_git_ancestor,
|
||
|
single_file_support = true,
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/influxdata/flux-lsp
|
||
|
`flux-lsp` can be installed via `cargo`:
|
||
|
```sh
|
||
|
cargo install --git https://github.com/influxdata/flux-lsp
|
||
|
```
|
||
|
]],
|
||
|
default_config = {
|
||
|
root_dir = [[util.find_git_ancestor]],
|
||
|
},
|
||
|
},
|
||
|
}
|