Closed dpopchev closed 3 years ago
That plugin appears to have GoyoEnter
and GoyoLeave
autocmds you could try. Maybe this could work:
autocmd! User GoyoLeave nested hi illuminatedWord cterm=bold,underline
Thanks, worked like a charm!
After exiting the distraction free mode, provided by the aforementioned goyo, the illumination is not working:
Steps to reproduce:
It seems the plugin is clearing the highlight, as on step.3 I can check that
I attempted to
but this is not sufficient.
NOTE: if the
autocmd
is applied at VimEnter, not BufEnter, then step 4 is not reproduced.