tpope / vim-obsession

obsession.vim: continuously updated session files
http://www.vim.org/scripts/script.php?script_id=4472
1.74k stars 68 forks source link

Persist wildignore across sessions #53

Closed robertjk closed 5 years ago

robertjk commented 5 years ago

Is there a way to persist wildignore option value throught sessions? I set this one per-project and would like to have it set properly after I load a session for a given project.

I know you've disabled saving options in your plugin, but I wonder if there is another (suggested) way of doing that?

tpope commented 5 years ago

You could manually rig something up to copy the value of &wildignore to from and to g:UPPERCASE_VARIABLE on startup and exit. Afraid I don't have much more to offer than that.

robertjk commented 5 years ago

Okay, thanks for the feedback. At least I know what's the situation.