1
0
neovim_config/lua/barink/plugins/gitsigns.lua
Nigel Barink a6c0657d70
Removing Which-key, adding a bunch of small improvments
Highlight on yank
gitsigns
oil as default explorer
2024-10-06 17:04:11 +02:00

30 lines
956 B
Lua

return {
'lewis6991/gitsigns.nvim',
config = function()
local opts = {
signs = {
add = { text = '+' },
change = { text = "~" },
delete = { text = "_" },
topdelete = { text = "-" },
changedelete = { text = "~" }
},
signs_staged = {
add = { text = '+' },
change = { text = "~" },
delete = { text = "_" },
topdelete = { text = "-" },
changedelete = { text = "~" },
untracked = { text = "*" },
},
signs_staged_enable = true,
signcolumn = true,
watch_gitdir = {
follow_files = true
},
auto_attach = true
}
require("gitsigns").setup(opts)
end,
}