formatting
This commit is contained in:
parent
f5319fcd7a
commit
e986ef657d
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue