1) Fix a bug where watching a directory would also report the directory
as changed if any files inside it were changed. This would causes
excessive polling by the branch segment
2) Fix a bug where the watch for the repo dir in the branch segment
was being continually recreated, again causing excessive polling. This
was particularly noticeable with the patch to fix fugitive file status
updates.
3) Improve the performance of branch coloring for git repos by ignoring
change events for the index.lock file. This file is created/deleted
every time git access the index and would cause the entire working tree
status to be re-queried every time.
Added a check to ensure that add_watches doesn't run on the same folder over and over again. This occurs at least when circular symbolic links are present.
Fix#543
Should be faster with new interfaces, but that is not the case
Should remove zero that can be viewed temporary in place of statusline in new
windows
Target: ressurect setup function like source_plugin (but in place of sourcing
something code is moved to python) to make it possible to do the following
sequence:
1. Install powerline via pip
2. Add a line to the vimrc like
py from powerline.vim import setup as setup_powerline; setup_powerline(); del setup_powerline
3. See new fancy statusline
Currently there are no convenient options to use powerline installed by pip in
vim. powerline/bindings/vim/plugin/powerline.vim will do what it does: check for
appropriate python versions available, fix sys.path and so on, but it won’t
create autocommands, set options or define PowerlinePyeval function.
Note: may be rebased on top of the develop.