summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/mutt_ls.lua
blob: 2026bf92b2b9928e4bf4e9b571d8c9cc116bc4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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]],
    },
  },
}