blob: a84c9dd8b1d49ecb2a513eeb3b29799458e753ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
;; Git ui.
(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!"}]])
(fn init []
(let [cmds (require :util.cmds)]
(cmds.create-auto-cmds auto-cmds)))
(local opts {:integrations {:diffview true :telescope true}})
{1 :TimUntersberger/neogit :cmd :Neogit : opts : init : dependencies : keys}
|