summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/lsp/lsp-installer.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/config/lsp/lsp-installer.fnl b/fnl/config/lsp/lsp-installer.fnl
index f77a4be..fd2271d 100644
--- a/fnl/config/lsp/lsp-installer.fnl
+++ b/fnl/config/lsp/lsp-installer.fnl
@@ -3,8 +3,9 @@
{autoload {util util}})
(def- opts
- {:on_attach: (require :config.lsp.handlers).on_attach
- :capabilities (require :config.lsp.handlers).capabilities})
+ (let [handlers (require :config.lsp.handlers)]
+ {:on_attach: handlers.on_attach
+ :capabilities handlers.capabilities}))
(defn- get-server-opts [server]
(when (= server.name :jsonls)