aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/prosemd_lsp.lua
blob: 8e72a3ada86c4ba36e9971bfc595770c4733cc1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
return {
  default_config = {
    cmd = { 'prosemd-lsp', '--stdio' },
    filetypes = { 'markdown' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
    single_file_support = true,
  },
  docs = {
    description = [[
https://github.com/kitten/prosemd-lsp

An experimental LSP for Markdown.

Please see the manual installation instructions: https://github.com/kitten/prosemd-lsp#manual-installation
]],
  },
}