summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/lsp/lsp-installer.fnl8
-rw-r--r--fnl/config/lsp/settings/pyright.fnl2
-rw-r--r--fnl/config/lsp/settings/sumneko-lua.fnl2
3 files changed, 6 insertions, 6 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]
diff --git a/fnl/config/lsp/settings/pyright.fnl b/fnl/config/lsp/settings/pyright.fnl
index 7269469..639ecff 100644
--- a/fnl/config/lsp/settings/pyright.fnl
+++ b/fnl/config/lsp/settings/pyright.fnl
@@ -1,4 +1,4 @@
;; Config for pyright language server.
(module config.lsp.settings.pyright)
-(def settings {:settings {:python {:analysis {:typeCheckingMode :off}}}})
+(def opts {:settings {:python {:analysis {:typeCheckingMode :off}}}})
diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl
index cc8e9ab..90c8807 100644
--- a/fnl/config/lsp/settings/sumneko-lua.fnl
+++ b/fnl/config/lsp/settings/sumneko-lua.fnl
@@ -20,4 +20,4 @@
(def- runtime {:version :LuaJIT :path (vim.split package.path ";")})
-(def settings {:settings {:Lua {: diagnostics : workspace}}})
+(def opts {:settings {:Lua {: diagnostics : workspace}}})