diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 00:02:28 +0200 |
| commit | 99a7ff44cdf70d028ef6aab26224f26f69ee528d (patch) | |
| tree | 3bac13281fe000f0cc9a1823b6ccac856b0acf88 /fnl/plugins/neogit.fnl | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Diffstat (limited to 'fnl/plugins/neogit.fnl')
| -rw-r--r-- | fnl/plugins/neogit.fnl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fnl/plugins/neogit.fnl b/fnl/plugins/neogit.fnl index 9b0c24b..143699d 100644 --- a/fnl/plugins/neogit.fnl +++ b/fnl/plugins/neogit.fnl @@ -1,19 +1,19 @@ ;; Git ui. +(import-macros {: autocmds} :macros) + (local dependencies [:nvim-lua/plenary.nvim]) (local keys [{1 :<leader>gm 2 :<cmd>Neogit<cr> :desc :Neogit}]) -(local auto-cmds [[:FileType - {:pattern [:NeogitStatus - :NeogitCommitMessage - :NeogitNotification - :NeogitCommitView] - :command "setlocal spell!"}]]) - (λ init [] - (let [{: create-auto-cmds} (require :util.cmds)] - (create-auto-cmds auto-cmds))) + (autocmds + [:FileType + {:pattern [:NeogitStatus + :NeogitCommitMessage + :NeogitNotification + :NeogitCommitView] + :command "setlocal spell!"}])) (local opts {:integrations {:diffview true :telescope true}}) |