summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/lsp-installer.fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-10 23:34:21 +0200
committeraktersnurra <grydholm@kth.se>2022-04-10 23:34:21 +0200
commitbe910efb9e059a962cffc030dec7ea1ea3771e7c (patch)
treece6733d6167b7d3ee3852530437b21656bbee81f /fnl/config/lsp/lsp-installer.fnl
parenta8ef65821f7fd7e2cdae39579e4a7dfabd75e58a (diff)
fix(lsp): remove do add opts return
Diffstat (limited to 'fnl/config/lsp/lsp-installer.fnl')
-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 116f637..3649566 100644
--- a/fnl/config/lsp/lsp-installer.fnl
+++ b/fnl/config/lsp/lsp-installer.fnl
@@ -13,10 +13,11 @@
(vim.tbl_deep_extend :force jsonls-opts opts)))
(when (= server.name :sumneko_lua)
(let [sumneko-lua-opts (require :config.lsp.settings.sumneko-lua)]
- (vim.tbl_deep_extend :force sumneko-lua-opts opts)))
+ (vim.tbl_deep_extend :force sumneko-lua-opts.settings opts)))
(when (= server.name :pyright)
(let [pyright-opts (require :config.lsp.settings.pyright)]
- (vim.tbl_deep_extend :force pyright-opts opts))))
+ (vim.tbl_deep_extend :force pyright-opts.settings opts)))
+ opts)
(let [lsp-installer (util.load-plugin :nvim-lsp-installer)]