Open dgsiegel opened 3 years ago
I've got a small file in ~/.vim/ftplugin/markdown.vim to set a few markdown specific settings. In that file I also autostart goyo.
~/.vim/ftplugin/markdown.vim
Even though I read a markdown file, the filetype will be reset:
:verbose set filetype? filetype=conf Last set from /usr/share/vim/vim82/filetype.vim line 2247
This does not happen if I start Goyo inside vim. The only solution right now seems to reset the filetype after calling goyo, e.g.
[...] Goyo set filetype=markdown
I've got a small file in
~/.vim/ftplugin/markdown.vim
to set a few markdown specific settings. In that file I also autostart goyo.Even though I read a markdown file, the filetype will be reset:
This does not happen if I start Goyo inside vim. The only solution right now seems to reset the filetype after calling goyo, e.g.