Closed dylnmc closed 6 years ago
Ah. I finally got around to trying to solve it. For some reason this only happens in Gvim. The issue was that the highlight
ing for NonText
was changing (only in Gvim, though?). I am using nord as my colorscheme, so I put this in my vimrc:
function! s:goyo_enter()
hi NonText guifg=#4C566A ctermfg=8
endfunction
function! s:goyo_leave()
hi NonText guifg=#4C566A ctermfg=8
endfunction
autocmd! User GoyoEnter nested call <SID>goyo_enter()
autocmd! User GoyoLeave nested call <SID>goyo_leave()
try doing:
(for instance)
inside goyo, and it won't work. At least, it didn't for me. Not great considering the fact that goyo is small to begin with so there will be many wrapped lines, and therefore, an obvious need for
breakindent
.