Tuesday, May 2, 2017

Re: simple gvimrc color defns lost

On Monday, May 1, 2017 at 2:58:16 PM UTC-5, Gary Johnson wrote:
> On 2017-05-01, Ben Fritz wrote:
> > Usually highlight colors like this are set in a color scheme file.
> > Do you set the color scheme with a :colors or :colorscheme command
> > somewhere?
>
> I think that the current colorscheme is re-applied when the
> termresponse is received. If that's true, then there needn't be
> a :colorscheme for this problem to appear; the re-application of the
> default colorscheme could wipe out highlighting set in ~/.vimrc.
>
> Regards,
> Gary

I didn't know that! I normally use gvim. What's the solution then, a VimEnter autocmd? Adding the highlight commands to a colorscheme instead of having them directly in the vimrc?

--
--
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: