Open ultimatecoder opened 7 years ago
I'm not sure but try adding nested
to your BufRead autocmd.
autocmd BufRead nested *.md Goyo
Tried by this but ended with no results. Even the Goyo plugin is not activated.
Add let g:goyo_linenr=1
to your .vimrc/init.vim file.
Goyo
plugin is on. I was able to do this customization by addinggoyo_enter
function. After that customization I am able to get relativelines when I activate the Goyo plugin by calling:Goyo
. Now I did another customization. When my file ismarkdown
I want to activate Goyo plugin automatically. For that customization I addedautocmd BufRead *.md Goyo
to my vimrc file. That customization is activating Goyo plugin but I am not getting relativelines when Goyo plugin is activated automatically if filetype is markdown. Any clue for doing this this? Thanks!