From e3606e6bb99e0edc0dd6b961ac43a5c2307fb782 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 7 Apr 2023 01:00:42 +0200 Subject: Updates --- fnl/plugins/lsp/keymaps.fnl | 4 +++- fnl/plugins/lsp/servers.fnl | 7 +++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'fnl/plugins/lsp') 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 {} -- cgit v1.2.3-70-g09d2