when :ThematicRandom the guifont will be set to '\ -1'. but it is not a correct font. in my gvim on Windows OS 10, this error do not appear. I doubt that it is involved in font name difference between linux and windows? because i find the same font has different name in Windows 10 and Linux.
Now i use this code to solve this problem temporaryly.
augroup init_ThematicRandom "{{{
autocmd!
autocmd VimEnter * let s:guifont = &guifont
\| ThematicRandom
\| let &guifont = s:guifont
\| unlet s:guifont
augroup END "}}}
OS: linux vim: gvim8.1
when
:ThematicRandom
the guifont will be set to '\ -1'. but it is not a correct font. in my gvim on Windows OS 10, this error do not appear. I doubt that it is involved in font name difference between linux and windows? because i find the same font has different name in Windows 10 and Linux.Now i use this code to solve this problem temporaryly.
Thank you!