diff options
| author | Christian Segundo | 2024-10-19 09:33:23 +0200 |
|---|---|---|
| committer | Christian Segundo | 2024-10-19 09:33:23 +0200 |
| commit | 11a21b6431dc2c7a5ac1290e3e24dcaa0bfd2c43 (patch) | |
| tree | 1808965a4527fd5314e63d400777879949ec47a3 /lua | |
| parent | 2d5cbeec2640fc5a981f1e35b101429a27318b6a (diff) | |
| download | config-11a21b6431dc2c7a5ac1290e3e24dcaa0bfd2c43.tar.gz | |
solves the 'auto-session WARN: vim.o.sessionoptions is missing localoptions.' warning
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/core/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/init.lua b/lua/core/init.lua index 6e28e69..2c03c1d 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -20,7 +20,7 @@ vim.opt.laststatus = 3 -- Single status line across all buffers vim.opt.undofile = true vim.opt.list = true -- Show some invisible characters like tabs vim.opt.undodir = vim.fn.stdpath("data") .. "/undo" -vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal" +vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions" -- TODO make it pretty with the highlights --vim.opt.winbar = '%!luaeval("_winbar()")' -- The winbar text, I don't know if it is possible to embed it directly here :( --vim.opt.winbar = "%=%m %t%=" |