38 lines
669 B
Lua
38 lines
669 B
Lua
local ui = require("fschauen.util.icons").ui
|
|
|
|
return {
|
|
"NeogitOrg/neogit",
|
|
|
|
cmd = "Neogit",
|
|
|
|
dependencies = "nvim-lua/plenary.nvim",
|
|
|
|
keys = {
|
|
{ "<leader>gs", "<cmd>Neogit<cr>", desc = ui.Git .. " [s]tatus (Neogit)" },
|
|
},
|
|
|
|
opts = {
|
|
commit_editor = { kind = "tab" },
|
|
disable_hint = true,
|
|
signs = {
|
|
section = {
|
|
ui.Folder,
|
|
ui.EmptyFolderOpen,
|
|
},
|
|
item = {
|
|
ui.ChevronRight,
|
|
ui.ChevronDown,
|
|
},
|
|
hunk = {
|
|
ui.ChevronSmallRight,
|
|
ui.ChevronSmallDown,
|
|
},
|
|
},
|
|
mappings = {
|
|
status = {
|
|
o = "GoToFile",
|
|
["="] = "Toggle",
|
|
},
|
|
},
|
|
},
|
|
}
|