mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
15 lines
362 B
Lua
15 lines
362 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"})
|