Thursday, June 25, 2015

Re: gvim colorscheme is run before global variables restored

On Thursday, June 25, 2015 at 11:00:31 AM UTC-4, Ben Fritz wrote:
>On Wednesday, June 24, 2015 at 11:21:02 PM UTC-5, Paul wrote:
>> The vimrc is run in phase/step#3, while buffers are loaded in
>> step#11. And the -S file that capture the past session are run
>> *after* the first file is loaded. I'm assuming that this means
>> after the 1st buffer is loaded. If that's the case, then it's
>> clear why g:Lapscreen is not set when colorscheme is run -- globals
>> are restored in step#11.
>>
>> Oh well. I guess it's not too much trouble to type ":color mine".
>> Thanks.
>
>You may be interested in the "SessionLoadPost" autocmd event. :-)

Wow. You are allowing me to indulge in the height of laziness. :)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: