Skip to content

Commit

Permalink
feat: persist pinned tabs (#304)
Browse files Browse the repository at this point in the history
Adds `globals` to session opts to persist pinned tabs
  • Loading branch information
ditsuke committed Feb 19, 2023
1 parent de6a28b commit 6b9f0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ return {
{
"folke/persistence.nvim",
event = "BufReadPre",
opts = { options = { "buffers", "curdir", "tabpages", "winsize", "help" } },
opts = { options = { "buffers", "curdir", "tabpages", "winsize", "help", "globals" } },
-- stylua: ignore
keys = {
{ "<leader>qs", function() require("persistence").load() end, desc = "Restore Session" },
Expand Down

0 comments on commit 6b9f0c0

Please sign in to comment.