aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/pact_ls.lua
blob: 909814df62cc123037aa6a09eb7f05997016eebf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
  default_config = {
    cmd = { 'pact-lsp' },
    filetypes = { 'pact' },
    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/kadena-io/pact-lsp

The Pact language server
    ]],
  },
}