From 11a21b6431dc2c7a5ac1290e3e24dcaa0bfd2c43 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sat, 19 Oct 2024 09:33:23 +0200 Subject: solves the 'auto-session WARN: vim.o.sessionoptions is missing localoptions.' warning --- lua/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/core/init.lua') 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%=" -- cgit v1.2.3