summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-04-07 01:00:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-04-07 01:00:42 +0200
commite3606e6bb99e0edc0dd6b961ac43a5c2307fb782 (patch)
treec8aeff2e6b7ae39d31ba3810b475c912f5d3d52f /fnl
parent7777c19183c98d4e78e71d72ff782c2c35f770ad (diff)
Updates
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/editor/dial.fnl11
-rw-r--r--fnl/plugins/editor/trouble.fnl3
-rw-r--r--fnl/plugins/lsp/keymaps.fnl4
-rw-r--r--fnl/plugins/lsp/servers.fnl7
-rw-r--r--fnl/plugins/tools/neogit.fnl3
5 files changed, 13 insertions, 15 deletions
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 :<leader>jt 2 :<cmd>TroubleToggle<cr> :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 :<cmd>Neogit<cr> :desc :Neogit}]
-}
+ :keys [{1 :mn 2 :<cmd>Neogit<cr> :desc :Neogit}]}