summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/lsp-installer.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 19:56:36 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 19:56:36 +0200
commitc2f6208139dc6fb8f76fff806e6808ff4cceb0a9 (patch)
tree2a77ca58b06e54394bf1db46ad1e58181edde6a9 /fnl/config/lsp/lsp-installer.fnl
parent903b92b2528d23267036a78fa92efd7a389833c4 (diff)
refactor(lsp installer): rename lsp settings
Diffstat (limited to 'fnl/config/lsp/lsp-installer.fnl')
-rw-r--r--fnl/config/lsp/lsp-installer.fnl8
1 files changed, 4 insertions, 4 deletions
diff --git a/fnl/config/lsp/lsp-installer.fnl b/fnl/config/lsp/lsp-installer.fnl
index 9522ef1..72bef8e 100644
--- a/fnl/config/lsp/lsp-installer.fnl
+++ b/fnl/config/lsp/lsp-installer.fnl
@@ -10,11 +10,11 @@
(let [jsonls-opts (require :config.lsp.settings.jsonls)]
(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.settings opts)))
+ (let [sumneko-lua (require :config.lsp.settings.sumneko-lua)]
+ (vim.tbl_deep_extend :force sumneko-lua.opts opts)))
(when (= server.name :pyright)
- (let [pyright-opts (require :config.lsp.settings.pyright)]
- (vim.tbl_deep_extend :force pyright-opts.settings opts))) opts)
+ (let [pyright (require :config.lsp.settings.pyright)]
+ (vim.tbl_deep_extend :force pyright.opts opts))) opts)
(let [lsp-installer (util.load-plugin :nvim-lsp-installer)]
(lsp-installer.on_server_ready (fn [server]