fix gitsigns deprecated option

This commit is contained in:
2024-06-21 22:15:44 +05:00
parent 1d06396a08
commit 4b48b1ae7c

View File

@ -1,11 +1,11 @@
require("gitsigns").setup({ require("gitsigns").setup({
signs = { signs = {
add = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, add = { text = "" },
change = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, change = { text = "" },
delete = { hl = "GitSignsDelete", text = "_", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, delete = { text = "_" },
topdelete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, topdelete = { text = "" },
changedelete = { hl = "GitSignsChange", text = "~", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, changedelete = { text = "~" },
untracked = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, untracked = { text = "" },
}, },
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl` numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
@ -35,8 +35,5 @@ require("gitsigns").setup({
relative = "cursor", relative = "cursor",
row = 0, row = 0,
col = 1, col = 1,
}, }
yadm = {
enable = false,
},
}) })