On Sep 16, Maxim Kim wrote: > среда, 16 сентября 2020 г. в 03:38:37 UTC+3, Antony Scriven: > > > In case I wasn't clear before, I'm wondering if could you save sg_link > > > in do_highlight() when doing ":hi def link", and then restore it in > > > highlight_clear(). Or would there be unintended consequences? > > > > > > I've not had any highlighting issues since trying it out (altering links > > > and then changing colorschemes), but I'm not a heavy user of syntax > > > highlighting and I'm not sure what the implications would be. > > > > > > --Antony > > >
Every time: try to use gmail; formatting failure; learn how to use mutt, again. Sorry. > Yes, result is the same and it also passes the test I have added. Thanks! > I think that proper check for cleared in 'hl_has_settings' is simpler > though. Yeah I know. I'm only mentioning this alternative because it doesn't require that syntax is reloaded. This seems to be welcome behaviour but I can't decide whether this is an intrusive change or not. --Antony -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20200916112852.GA733780%40naga.
