my neovim configuration

update gitsigns config

Changed files
+6 -42
lua
ptero
configs
+6 -42
lua/ptero/configs/gitsigns.lua
···
gitsigns.setup({
signs = {
-
add = {
-
hl = "GitSignsAdd",
-
text = icons.git.LineAdded,
-
numhl = "GitSignsAddNr",
-
linehl = "GitSignsAddLn",
-
},
-
change = {
-
hl = "GitSignsChange",
-
text = icons.git.LineModified,
-
numhl = "GitSignsChangeNr",
-
linehl = "GitSignsChangeLn",
-
},
-
delete = {
-
hl = "GitSignsDelete",
-
text = icons.git.LineRemoved,
-
numhl = "GitSignsDeleteNr",
-
linehl = "GitSignsDeleteLn",
-
},
-
topdelete = {
-
hl = "GitSignsDelete",
-
text = icons.ui.Triangle,
-
numhl = "GitSignsDeleteNr",
-
linehl = "GitSignsDeleteLn",
-
},
-
changedelete = {
-
hl = "GitSignsChange",
-
text = icons.ui.BoldLineLeft,
-
numhl = "GitSignsChangeNr",
-
linehl = "GitSignsChangeLn",
-
},
-
untracked = {
-
hl = "GitSignsAdd",
-
text = icons.git.LineDeleted,
-
numhl = "GitSignsAddNr",
-
linehl = "GitSignsAddLn",
-
},
},
signcolumn = true,
numhl = false,
···
delay = 1000,
ignore_whitespace = false,
},
-
current_line_blame_formatter_opts = {
-
relative_time = false,
-
},
sign_priority = 6,
update_debounce = 100,
status_formatter = nil,
···
relative = "cursor",
row = 0,
col = 1,
-
},
-
yadm = {
-
enable = false,
},
})
···
gitsigns.setup({
signs = {
+
add = { text = icons.git.LineAdded },
+
change = { text = icons.git.LineModified },
+
delete = { text = icons.git.LineRemoved },
+
topdelete = { text = icons.ui.Triangle },
+
changedelete = { text = icons.ui.BoldLineLeft },
+
untracked = { text = icons.git.LineDeleted },
},
signcolumn = true,
numhl = false,
···
delay = 1000,
ignore_whitespace = false,
},
sign_priority = 6,
update_debounce = 100,
status_formatter = nil,
···
relative = "cursor",
row = 0,
col = 1,
},
})