diff options
| author | Christopher Valerio <christopher@valerio.guru> | 2023-10-01 06:42:59 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-01 14:42:59 +0200 |
| commit | 78bd5c7b237e2bab4e149abbc918b5b7c86530de (patch) | |
| tree | 28f4694854449d589cbf79021e7821b567626dfe /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar.gz nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar.bz2 nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar.lz nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar.xz nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.tar.zst nvim-lspconfig-78bd5c7b237e2bab4e149abbc918b5b7c86530de.zip | |
feat: adding aiken lsp support
Aiken is a new language for smart contracts.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/aiken.lua | 25 |
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")]], + }, + }, +} |
