Skip to content

Commit

Permalink
feat: add agda-language-server (neovim#3100)
Browse files Browse the repository at this point in the history
* feat: add agda-language-server

* fix(agda_ls): *.agda-lib root pattern
  • Loading branch information
foxyseta authored Apr 11, 2024
1 parent e25c4cd commit 9e47784
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lua/lspconfig/server_configurations/agda_ls.lua
Original file line number Diff line number Diff line change
@@ -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.
]],
},
}

0 comments on commit 9e47784

Please sign in to comment.