nvim/pack/acp/start/nvim-lspconfig/lua/lspconfig/server_configurations/aiken.lua

26 lines
560 B
Lua
Raw Normal View History

2024-04-06 13:39:53 +00:00
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")]],
},
},
}