1
0
Fork 0
dotfiles/home/config/nvim/plugins/neogit.fnl
Daniel Kempkens 58fcf7dacd
All checks were successful
Update Flake / update-flake (push) Successful in 2m33s
Build / build-amd64-linux (push) Successful in 48s
Build / build-arm64-linux (push) Successful in 2m5s
neogit: remove augroup
2024-01-04 13:55:30 +01:00

18 lines
810 B
Fennel

(let [neogit (require :neogit)
gitsigns (require :gitsigns)
augroup (vim.api.nvim_create_augroup :NifocNeogit {:clear true})
aucmd vim.api.nvim_create_autocmd]
(neogit.setup {})
(aucmd :FileType {:pattern [:NeogitBranchDescription
:NeogitCommitMessage
:NeogitCommitView
:NeogitLogView
:NeogitMergeMessage
:NeogitPopup
:NeogitStatus
:NeogitTagMessage]
:callback #(set vim.b.toggle_line_style 0)
:group augroup})
(aucmd :User {:pattern :NeogitCommitComplete
:callback #(gitsigns.refresh)
:group augroup}))