From b173e4a1a1e3f710cf304e726cdea6c7bf793c26 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 9 Apr 2022 12:49:35 +0200 Subject: fix(lsp installer): add let for handlers --- fnl/config/lsp/lsp-installer.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/config/lsp') 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) -- cgit v1.2.3-70-g09d2