Problem with powerline installed
jasonpenny opened this issue · 1 comments
jasonpenny commented
I have powerline installed and a recent janus update started causing my vim to show lots of errors.
E121: Undefined variable: #warningmsg#
E15: Invalid expression: pyeval('powerline.new_window()')%#warningmsg#%{SyntasticStatuslineFlag()}%*
...
from
janus/janus/vim/tools/janus/after/plugin/syntastic.vim
Lines 2 to 8 in 922d384
This change seems to stop the errors:
- if globpath(&runtimepath, 'plugin/airline.vim', 1) ==# '' && globpath(&runtimepath, 'plugin/lightline.vim', 1) ==# ''
+ if globpath(&runtimepath, 'plugin/airline.vim', 1) ==# '' && globpath(&runtimepath, 'plugin/lightline.vim', 1) ==# '' && globpath(&runtimepath, 'plugin/powerline.vim', 1) ==#
but it also seems that syntastic is now set to passive by default (so it no longer checks syntax on file save)
was that on purpose?