summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/aiken.lua
blob: 8025fe1e2f3682266a7b2d24e2b0f6d0fa588298 (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 = { 'aiken', 'lsp' },
    filetypes = { 'aiken' },
    root_dir = function(fname)
      return util.root_pattern('aiken.toml', '.git')(fname)
    end,
  },
  docs = {
    description = [[
https://github.com/aiken-lang/aiken

A language server for Aiken Programming Language.
[Installation](https://aiken-lang.org/installation-instructions)

It can be i
]],
    default_config = {
      cmd = { 'aiken', 'lsp' },
      root_dir = [[root_pattern("aiken.toml", ".git")]],
    },
  },
}