stefandtw / quickfix-reflector.vim

Change code right in the quickfix window
MIT License
347 stars 18 forks source link

Undefined variable s:qfBufferLines #16

Closed Konfekt closed 9 years ago

Konfekt commented 9 years ago

On saving ~/.config/.vim/settings/quickfix-reflector.vim the following error is thrown.

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"~/.config/.vim/settings/quickfix-reflector.vim" 10L, 323C
Error detected while processing function <SNR>164_OnWrite:
line    4:
E121: Undefined variable: s:qfBufferLines
E116: Invalid arguments for function copy(s:qfBufferLines)
E15: Invalid expression: copy(s:qfBufferLines)

This does not happen without the quickfix-reflector.vim plugin.

stefandtw commented 9 years ago

An autocmd was using a wildcard and matched the file because it had quickfix- in the name. The wildcard is now removed.

Konfekt commented 9 years ago

Yep, thanks for fixing it!