diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-04-07 01:00:42 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-04-07 01:00:42 +0200 |
commit | e3606e6bb99e0edc0dd6b961ac43a5c2307fb782 (patch) | |
tree | c8aeff2e6b7ae39d31ba3810b475c912f5d3d52f /fnl/plugins/lsp | |
parent | 7777c19183c98d4e78e71d72ff782c2c35f770ad (diff) |
Updates
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r-- | fnl/plugins/lsp/keymaps.fnl | 4 | ||||
-rw-r--r-- | fnl/plugins/lsp/servers.fnl | 7 |
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 {} |