Adding config file for neogit
This commit is contained in:
@@ -1,3 +1,52 @@
|
|||||||
local neogit = require('neogit')
|
local neogit = require("neogit")
|
||||||
|
|
||||||
|
neogit.setup {
|
||||||
|
auto_refresh = true,
|
||||||
|
remember_settings = true,
|
||||||
|
ignored_settings = {},
|
||||||
|
commit_popup = {
|
||||||
|
kind = "split",
|
||||||
|
},
|
||||||
|
preview_buffer = {
|
||||||
|
kind = "split",
|
||||||
|
},
|
||||||
|
popup = {
|
||||||
|
kind = "split",
|
||||||
|
},
|
||||||
|
signs = {
|
||||||
|
section = { ">", "v" },
|
||||||
|
item = { ">", "v" },
|
||||||
|
hunk = { "", "" },
|
||||||
|
},
|
||||||
|
integrations = {
|
||||||
|
diffview = true
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
untracked = {
|
||||||
|
folded = false
|
||||||
|
},
|
||||||
|
unstaged = {
|
||||||
|
folded = false
|
||||||
|
},
|
||||||
|
staged = {
|
||||||
|
folded = false
|
||||||
|
},
|
||||||
|
stashes = {
|
||||||
|
folded = true
|
||||||
|
},
|
||||||
|
unpulled = {
|
||||||
|
folded = true
|
||||||
|
},
|
||||||
|
unmerged = {
|
||||||
|
folded = false
|
||||||
|
},
|
||||||
|
recent = {
|
||||||
|
folded = true
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mappings = {
|
||||||
|
status = {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
neogit.setup {}
|
|
||||||
|
|||||||
@@ -79,5 +79,6 @@ return require('packer').startup(function(use)
|
|||||||
config = function()
|
config = function()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim' }
|
use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim',}
|
||||||
|
use 'sindrets/diffview.nvim'
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user