summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-07 13:00:10 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-07 13:00:10 +0100
commitba42524c3dbe9e59d6621d3ce02fb5dbc39126ff (patch)
treec09cc1335f01499d4204bad2c898598d764fcaca
parent11eb82bcea1d29a23c7d6bed28f23a86b98cb2a6 (diff)
Add persistence config
-rw-r--r--fnl/config/persistence.fnl6
-rw-r--r--lazy-lock.json6
2 files changed, 9 insertions, 3 deletions
diff --git a/fnl/config/persistence.fnl b/fnl/config/persistence.fnl
new file mode 100644
index 0000000..ad93131
--- /dev/null
+++ b/fnl/config/persistence.fnl
@@ -0,0 +1,6 @@
+;; Session manager.
+(module config.persistence {autoload {util config.util}})
+
+(def- opts {:options [:buffers :curdir :tabpages :winsize :help]})
+
+(util.setup :persistence opts)
diff --git a/lazy-lock.json b/lazy-lock.json
index b8657ea..06fe56a 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -16,7 +16,7 @@
"friendly-snippets": { "branch": "main", "commit": "484fb38b8f493ceeebf4e6fc499ebe41e10aae25" },
"gitsigns.nvim": { "branch": "main", "commit": "d4f8c01280413919349f5df7daccd0c172143d7c" },
"harpoon": { "branch": "master", "commit": "21d0d1bfa3000e4384740bfaefa0ebc51c773786" },
- "lazy.nvim": { "branch": "main", "commit": "c3132492714661121f70daf77d716053ab39bd0b" },
+ "lazy.nvim": { "branch": "main", "commit": "8798ccc95031225e3b2241bd8b2d26c2452b06c4" },
"leap.nvim": { "branch": "main", "commit": "a968ab4250840dc879e805f918b4f3b892310a12" },
"lir.nvim": { "branch": "master", "commit": "84af01547e51e15fc97e878330414385eeb825e8" },
"lspkind-nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" },
@@ -34,10 +34,10 @@
"nvim-bufdel": { "branch": "main", "commit": "a60b3531e5bd56f8602acb4ba7f5b2eeb782d54b" },
"nvim-cmp": { "branch": "main", "commit": "11a95792a5be0f5a40bab5fc5b670e5b1399a939" },
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
- "nvim-lspconfig": { "branch": "master", "commit": "e69978a39e4d3262b09ce6a316beff384f443e3b" },
+ "nvim-lspconfig": { "branch": "master", "commit": "41dc4e017395d73af0333705447e858b7db1f75e" },
"nvim-spectre": { "branch": "master", "commit": "68ea562b485b6593e325e7916c3bd6e833d433e7" },
"nvim-surround": { "branch": "main", "commit": "ad56e6234bf42fb7f7e4dccc7752e25abd5ec80e" },
- "nvim-treesitter": { "branch": "master", "commit": "0922634d371d45c344a559119ed398f91e399085" },
+ "nvim-treesitter": { "branch": "master", "commit": "85d953449125702c7c11f4a2242c328f7a65fd5b" },
"nvim-web-devicons": { "branch": "master", "commit": "7f55bc36eddec87597167a97de5b690997edaf7d" },
"nvim-window-picker": { "branch": "main", "commit": "5902827d0e338890a22849e2f18dc80d1cc1a8db" },
"orgmode": { "branch": "master", "commit": "dadf56334d2be7d9e8ad1e22c697a6e75f0164b7" },