aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/cobol_ls.lua
blob: 71d03180a5c624d7dbf7df36cc969e043cb8addb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
  default_config = {
    cmd = { 'cobol-language-support' },
    filetypes = { 'cobol' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
  },
  docs = {
    description = [[
Cobol language support
    ]],
  },
}