Fixed problems with config

This commit is contained in:
2026-02-16 13:51:55 +00:00
parent 29f3abf286
commit 6579926607

View File

@@ -47,7 +47,13 @@ return {
{ "<leader>dd", vim.diagnostic.open_float, desc = "Show [D]iagnostics" },
},
atone = {
{ "U", vim.api.nvim_command("Atone toggle"), desc = "[U]ndotree" },
{
"U",
function()
require("atone.core").toggle()
end,
desc = "[U]ndotree",
},
},
gitsigns = {
{
@@ -166,19 +172,25 @@ return {
lazygit = {
{
"<leader>lg",
Snacks.lazygit,
function()
Snacks.lazygit()
end,
desc = "[L]azy[G]it",
mode = "n",
},
{
"<leader>ll",
Snacks.lazygit.log,
function()
Snacks.lazygit.log()
end,
desc = "[L]azyGit [L]og",
mode = "n",
},
{
"<leader>lf",
Snacks.lazygit.log_file,
function()
Snacks.lazygit.log_file()
end,
desc = "[L]azyGit [F]ile Log",
mode = "n",
},