-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VimWiki and Goyo #1380
Comments
Not sure if this helps, but always had the issue of some colors I defined via I used this workaround so far:
Based on Goyo's help file: It certainly feels like a hack, cause I'm toggling the entire syntax highlighting with this. EDIT: better approachI just played around with the above mentioned linked suggestion using file 'after/syntax/vimwiki.vim'Define just your
file 'after/ftplugin/vimwiki.vim'Define a function that sets up the resp.
With this I no longer need the initially described workaround via |
Hi, I am trying to set up VimWiki in harmony with Goyo. I'm toggling Goyo with a leader key mapping.
The problem is (I think) that Goyo reloads the colorscheme from scratch and I lose the rendering for italic, bold etc. and also the header colors I set with e.g.
hi VimwikiHeader1 guifg=#DD7722
... Apparently the solution is hinted at in issue #84 of the Goyo repo. But I don't understand it at all (complete vim script idiot).So how would I force Vim to reload VimWiki's visuals after exiting Goyo?
VimWiki settings from your
.vimrc
Include the syntax you are using (default / Markdown / MediaWiki)
default and Markdown
Provide a detailed description of the problem including steps to reproduce the issue
See above, basically :
Include the output of
:VimwikiShowVersion
I am still using VimWiki 2.3 (on GVim 9.0, on Windows 10) - any VimWiki version above gave me errors and wouldn't run.
The text was updated successfully, but these errors were encountered: