aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/aiken.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/aiken.lua b/lua/lspconfig/server_configurations/aiken.lua
new file mode 100644
index 00000000..8025fe1e
--- /dev/null
+++ b/lua/lspconfig/server_configurations/aiken.lua
@@ -0,0 +1,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")]],
+ },
+ },
+}