-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sourcing $MYVIMRC causes lots of errors #8
Comments
I have found setting If I comment out that line, I can source the my config as many times as I like, without error. A conditional Sorry I can't be more helpful - I don't know vimscript very well :) |
Do you write the lightline setting after the syntax enable
...
let g:lightline = ...
... What if setting lightline before both enabling syntax and setting the colorscheme? let g:lightline = ...
colorscheme XXX
syntax enable
... |
Ah, sorry. Order of |
I did have Out of interest, why is the ordering important here in this case? |
It is a little complicated. When
The statusline of lightline assumes that Anyway, I'll shortly push the code fixing this issue. |
Note to me: after sourcing set statusline=... to if &statusline ==# ''
set statusline=...
endif Plus, letting
Idea: watch CursorHold will make the second out of use. |
Simple idea: |
I found the above simple idea will solve all the problems... |
The text was updated successfully, but these errors were encountered: