change neogit behavior
This commit is contained in:
parent
e0c15e9e3f
commit
61dd8af57c
@ -12,12 +12,12 @@ return {
|
||||
"https://github.com/NeogitOrg/neogit",
|
||||
keys = {
|
||||
{
|
||||
'<leader>gs',
|
||||
'<leader>gn',
|
||||
function()
|
||||
return require('neogit').open()
|
||||
return require('neogit').open({cwd = "%:p:h"})
|
||||
end,
|
||||
desc = 'Open neogit',
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
cmd = "Neogit",
|
||||
|
@ -40,7 +40,7 @@ return {
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
update_focused_file = {
|
||||
enable = true,
|
||||
enable = false,
|
||||
update_root = true,
|
||||
},
|
||||
diagnostics = {
|
||||
|
Loading…
Reference in New Issue
Block a user