summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r--fnl/plugins/lsp/keymaps.fnl4
-rw-r--r--fnl/plugins/lsp/servers.fnl7
2 files changed, 6 insertions, 5 deletions
diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl
index fdcf53f..f6384ce 100644
--- a/fnl/plugins/lsp/keymaps.fnl
+++ b/fnl/plugins/lsp/keymaps.fnl
@@ -33,6 +33,8 @@
(fn on-attach [bufnr]
(each [_ mapping (ipairs mappings)]
(match mapping
- [mode key cmd desc] (vim.api.nvim_buf_set_keymap bufnr mode key cmd (vim.tbl_extend :force opts desc)))))
+ [mode key cmd desc] (vim.api.nvim_buf_set_keymap bufnr mode key cmd
+ (vim.tbl_extend :force
+ opts desc)))))
{: on-attach}
diff --git a/fnl/plugins/lsp/servers.fnl b/fnl/plugins/lsp/servers.fnl
index bb6467b..0126b81 100644
--- a/fnl/plugins/lsp/servers.fnl
+++ b/fnl/plugins/lsp/servers.fnl
@@ -16,11 +16,10 @@
:pyright {}
:rust_analyzer {:settings {:rust-analyzer {:lens {:enable true}
:checkOnSave {:command :clippy}}}}
- :sqls {}
:lua_ls {:settings {:Lua {:completion {:callSnippet :Replace}
- :workspace {:checkThirdParty false}
- :runtime {:version :LuaJIT
- :path (vim.split package.path ";")}}}}
+ :workspace {:checkThirdParty false}
+ :runtime {:version :LuaJIT
+ :path (vim.split package.path ";")}}}}
:taplo {}
:terraformls {}
:texlab {}