diff options
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}}) |