nvim.nix/nvim/plugin/neogit.lua
2024-08-10 01:45:39 -05:00

15 lines
363 B
Lua

if vim.g.did_load_neogit_plugin then
return
end
vim.g.did_load_neogit_plugin = true
local neogit = require('neogit')
neogit.setup {
disable_builtin_notifications = true,
integrations = {
diffview = true,
telescope = true,
fzf_lua = true,
},
}
vim.keymap.set('n', '<leader>ng', neogit.open, { noremap = true, silent = true, desc = 'Neogit' })