mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:00:05 +08:00
26 lines
531 B
Lua
26 lines
531 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'mutt-language-server' },
|
||
|
filetypes = { 'muttrc', 'neomuttrc' },
|
||
|
root_dir = util.find_git_ancestor(),
|
||
|
single_file_support = true,
|
||
|
settings = {},
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/neomutt/mutt-language-server
|
||
|
|
||
|
A language server for (neo)mutt's muttrc. It can be installed via pip.
|
||
|
|
||
|
```sh
|
||
|
pip install mutt-language-server
|
||
|
```
|
||
|
]],
|
||
|
default_config = {
|
||
|
root_dir = [[util.find_git_ancestor]],
|
||
|
},
|
||
|
},
|
||
|
}
|