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/editor/dial.fnl | 11 +++++------ fnl/plugins/editor/trouble.fnl | 3 +-- fnl/plugins/lsp/keymaps.fnl | 4 +++- fnl/plugins/lsp/servers.fnl | 7 +++---- fnl/plugins/tools/neogit.fnl | 3 +-- 5 files changed, 13 insertions(+), 15 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/editor/dial.fnl b/fnl/plugins/editor/dial.fnl index 319f7a7..7a888eb 100644 --- a/fnl/plugins/editor/dial.fnl +++ b/fnl/plugins/editor/dial.fnl @@ -16,11 +16,10 @@ (fn config [] (let [cfg (require :dial.config) augend (require :dial.augend)] - (cfg.augends:register_group - {:default [augend.integer.alias.decimal - augend.integer.alias.hex - (. augend.date.alias "%Y-%m-%d") - augend.constant.alias.bool - augend.semver.alias.semver]}))) + (cfg.augends:register_group {:default [augend.integer.alias.decimal + augend.integer.alias.hex + (. augend.date.alias "%Y-%m-%d") + augend.constant.alias.bool + augend.semver.alias.semver]}))) {1 :monaqa/dial.nvim : keys : config} diff --git a/fnl/plugins/editor/trouble.fnl b/fnl/plugins/editor/trouble.fnl index 8b8d7f4..5c989de 100644 --- a/fnl/plugins/editor/trouble.fnl +++ b/fnl/plugins/editor/trouble.fnl @@ -80,5 +80,4 @@ {1 :folke/trouble.nvim :keys [{1 :jt 2 :TroubleToggle :desc :Trouble}] - : opts -} + : opts} 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 {} diff --git a/fnl/plugins/tools/neogit.fnl b/fnl/plugins/tools/neogit.fnl index 9bd3afd..e9c6235 100644 --- a/fnl/plugins/tools/neogit.fnl +++ b/fnl/plugins/tools/neogit.fnl @@ -4,5 +4,4 @@ :cmd :Neogit :config true :dependencies [:nvim-lua/plenary.nvim] - :keys [{1 :mn 2 :Neogit :desc :Neogit}] -} + :keys [{1 :mn 2 :Neogit :desc :Neogit}]} -- cgit v1.2.3-70-g09d2