summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-08-02 23:12:20 -0400
committertriethyl <triethylammonium@pm.me>2025-08-02 23:12:59 -0400
commit63aeb6e1ec79fa01703030bf7769c39aa6d856ee (patch)
tree4dc8606cf015dcad4d407e13212879e45d978564 /pkgs/custom-neovim
parentf721ea5dbd92bdc48cdf6cd9cd1b5b0ea1f95eb8 (diff)
neovim: added globals to sessionoptions
Diffstat (limited to 'pkgs/custom-neovim')
-rw-r--r--pkgs/custom-neovim/config/lua/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/custom-neovim/config/lua/options.lua b/pkgs/custom-neovim/config/lua/options.lua
index e937102..8fccdeb 100644
--- a/pkgs/custom-neovim/config/lua/options.lua
+++ b/pkgs/custom-neovim/config/lua/options.lua
@@ -12,7 +12,7 @@ vim.o.relativenumber = true -- set relative numbered lines
vim.o.scrolloff = 4 -- minimal number of screen lines to keep above and below the cursor
vim.o.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time
vim.o.clipboard = "unnamedplus" -- use system clipboard
-vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
+vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions,globals"
-- Indention
local indent = 2