1
0
Fork 0

formatting

This commit is contained in:
zymon 2025-03-30 23:51:44 +02:00
parent f5319fcd7a
commit e986ef657d

View file

@ -77,7 +77,7 @@ return {
{ "<leader>gr", group = "reset" },
{ "<leader>gs", group = "stage" },
{ "<leader>gt", group = "toggle" },
{ "<leader>p", group = "pick" },
{ "<leader>p", group = "pick" },
{ "<leader>u", group = "ui" },
{ "<leader>x", group = "diagnostics" },
},
@ -161,14 +161,14 @@ return {
keys = {
{
"zR",
function ()
function()
require('ufo').openAllFolds()
end,
desc = "Open all folds"
},
{
"zM",
function ()
function()
require('ufo').closeAllFolds()
end,
desc = "Close all folds"
@ -176,7 +176,7 @@ return {
},
config = {
provider_selector = function(bufnr, filetype, buftype)
return {'treesitter', 'indent'}
return { 'treesitter', 'indent' }
end
},
},
@ -200,10 +200,10 @@ return {
"https://github.com/folke/persistence.nvim",
event = "BufReadPre", -- this will only start session saving when an actual file was opened
keys = {
{"<leader>qs", function() require("persistence").load() end, desc = "load session from cwd"},
{"<leader>qS", function() require("persistence").select() end, desc = "select a session to load"},
{"<leader>ql", function() require("persistence").load({ last = true }) end, desc = "load te last session"},
{"<leader>qd", function() require("persistence").stop() end, desc = "stop persistence"},
{ "<leader>qs", function() require("persistence").load() end, desc = "load session from cwd" },
{ "<leader>qS", function() require("persistence").select() end, desc = "select a session to load" },
{ "<leader>ql", function() require("persistence").load({ last = true }) end, desc = "load te last session" },
{ "<leader>qd", function() require("persistence").stop() end, desc = "stop persistence" },
},
opts = {
-- add any custom options here