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