As title. I have to use some colorscheme to make my reading experience better on certain filetype. I have made an auto session plugin myself but I don't know how to store the colorscheme info I'm currently on into it. Is there any native way for doing so?
My trying: The following are the only two lines that might be related to what will be stored into the session:
vim.opt.ssop:append({ 'localoptions', 'globals' })
vim.opt.ssop:remove({ 'buffers' })
As I assumed colorscheme
is some global variable. But by grepping inside the session file created, I didn't find any string colorscheme
.
Might not be related, but I'm using NeoVim.
:h ssop
before, but I'm not sure about which one is related to colorscheme. I have updated my question.:h ssop
doesn't help with this problem. I don't think other options that I haven't appended are related tocolorscheme
. Maybe you should try your attempt before answering people's questions.