From e986ef657d4414bffa52994d89a56c990bbc1056 Mon Sep 17 00:00:00 2001 From: zymon Date: Sun, 30 Mar 2025 23:51:44 +0200 Subject: [PATCH] formatting --- lua/znvim/plugins/editor.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lua/znvim/plugins/editor.lua b/lua/znvim/plugins/editor.lua index 93b0cfb..1cbf56a 100644 --- a/lua/znvim/plugins/editor.lua +++ b/lua/znvim/plugins/editor.lua @@ -77,7 +77,7 @@ return { { "gr", group = "reset" }, { "gs", group = "stage" }, { "gt", group = "toggle" }, - { "p", group = "pick" }, + { "p", group = "pick" }, { "u", group = "ui" }, { "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 = { - {"qs", function() require("persistence").load() end, desc = "load session from cwd"}, - {"qS", function() require("persistence").select() end, desc = "select a session to load"}, - {"ql", function() require("persistence").load({ last = true }) end, desc = "load te last session"}, - {"qd", function() require("persistence").stop() end, desc = "stop persistence"}, + { "qs", function() require("persistence").load() end, desc = "load session from cwd" }, + { "qS", function() require("persistence").select() end, desc = "select a session to load" }, + { "ql", function() require("persistence").load({ last = true }) end, desc = "load te last session" }, + { "qd", function() require("persistence").stop() end, desc = "stop persistence" }, }, opts = { -- add any custom options here