From be910efb9e059a962cffc030dec7ea1ea3771e7c Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 10 Apr 2022 23:34:21 +0200 Subject: fix(lsp): remove do add opts return --- fnl/config/lsp/lsp-installer.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/config/lsp/lsp-installer.fnl') 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)] -- cgit v1.2.3-70-g09d2