From 78bd5c7b237e2bab4e149abbc918b5b7c86530de Mon Sep 17 00:00:00 2001 From: Christopher Valerio Date: Sun, 1 Oct 2023 06:42:59 -0600 Subject: feat: adding aiken lsp support Aiken is a new language for smart contracts. --- lua/lspconfig/server_configurations/aiken.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua/lspconfig/server_configurations/aiken.lua (limited to 'lua') 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")]], + }, + }, +} -- cgit v1.2.3-70-g09d2