From 9e477848d1e3bc859aa038245cc6b392489cb42d Mon Sep 17 00:00:00 2001 From: Stefano Volpe Date: Thu, 11 Apr 2024 08:03:37 +0200 Subject: feat: add agda-language-server (#3100) * feat: add agda-language-server * fix(agda_ls): *.agda-lib root pattern --- lua/lspconfig/server_configurations/agda_ls.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/lspconfig/server_configurations/agda_ls.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/agda_ls.lua b/lua/lspconfig/server_configurations/agda_ls.lua new file mode 100644 index 00000000..07d6e93f --- /dev/null +++ b/lua/lspconfig/server_configurations/agda_ls.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'als' }, + filetypes = { 'agda' }, + root_dir = util.root_pattern('.git', '*.agda-lib'), + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/agda/agda-language-server + +Language Server for Agda. +]], + }, +} -- cgit v1.2.3-70-g09d2