summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/lsp/lsp-installer.fnl6
1 files changed, 4 insertions, 2 deletions
diff --git a/fnl/config/lsp/lsp-installer.fnl b/fnl/config/lsp/lsp-installer.fnl
index e3b153f..34a0520 100644
--- a/fnl/config/lsp/lsp-installer.fnl
+++ b/fnl/config/lsp/lsp-installer.fnl
@@ -14,6 +14,7 @@
:texlab true
:tflint true
:yamlls true
+ :taplo true
:zk true})
(defn- merge [default-servers installed-servers]
@@ -21,7 +22,8 @@
(each [_ server (ipairs installed-servers)]
(if (not= (. servers server.name) true)
(tset servers server.name true)))
- servers))
+ (icollect [k (pairs servers)]
+ k)))
(defn- handler-opts []
(let [handlers (require :config.lsp.handlers)]
@@ -50,6 +52,6 @@
lspconfig (util.load-plugin :lspconfig)]
(let [servers (merge default-servers (lsp-installer.get_installed_servers))]
(lsp-installer.setup {:ensure_installed servers})
- (each [server _ (pairs servers)]
+ (each [_ server (ipairs servers)]
(let [server-config (. lspconfig server)]
(server-config.setup (get-server-opts server))))))