junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.49k stars 115 forks source link

Lightline issue #260

Closed sicr0 closed 2 years ago

sicr0 commented 2 years ago

I put in my .vim/after/ftplugin/markdown.vim the Goyo command. After that, everytime I open a Markdown file, Lightline throws this error:

Error detected while processing CursorMoved Autocommands for "<buffer=4>"..function <SNR>92_blank[5]..WinEnter Autocomma
nds for "*"..function lightline#update_disable:
line    1:
E121: Undefined variable: s:lightline
Press ENTER or type command to continue
Error detected while processing CursorMoved Autocommands for "<buffer=4>"..function <SNR>92_blank[5]..WinEnter Autocomma
nds for "<buffer=2>"..function <SNR>92_blank[5]..WinEnter Autocommands for "*"..function lightline#update_disable:
line    1:
E121: Undefined variable: s:lightline

Any fix?

charlax commented 2 years ago

@sicr0 does this mean it's fixed? Because I don't see any commit that fixes it...