goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

Goyo overwrites filetype

Open dgsiegel opened this issue 3 years ago • 0 comments

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:

: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

dgsiegel avatar Jan 21 '21 16:01 dgsiegel