Error when entering Goyo on BufRead
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 4.7k
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
I get the following error with an autocmd to enter Goyo:
Error detected while processing function lightline#update_disable
Vimrc to repro:
call plug#begin('~/.vim/plugged')
Plug 'itchyny/lightline.vim'
Plug 'junegunn/goyo.vim'
call plug#end()
au BufRead,BufNewFile * Goyo
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error with the Vim configuration shown, including lightline.vim, goyo.vim, and the BufRead/BufNewFile autocmd. Start from the reported lightline#update_disable function and determine why entering Goyo during that autocmd triggers the error; done means the repro no longer reports the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100