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

@ -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