среда, 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 >> > Yes, result is the same and it also passes the test I have added. I think that proper check for cleared in 'hl_has_settings' is simpler though. -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/a2c26600-b1e1-4762-989e-bb3e07b3d39en%40googlegroups.com.