Commit Graph

2286 Commits

Author SHA1 Message Date
Kim Silkebækken 540b076aa0 Merge remote-tracking branch 'kovidgoyal/fix-482' into develop 2013-06-02 15:43:26 +02:00
Kovid Goyal 0435d44984 Fix committing with fugitive => stuck file status
Fixes #482 (I hope)
2013-05-30 07:29:04 +05:30
Kim Silkebækken 669327df0d Merge remote-tracking branch 'kovidgoyal/fix-417' into develop 2013-05-27 13:40:34 +02:00
Kim Silkebækken 291832d707 Merge remote-tracking branch 'zyx-i/auto-use-powerline-client' into develop 2013-05-27 13:40:27 +02:00
ZyX baa44475e5 Add note about POWERLINE_COMMAND to documentation 2013-05-24 07:21:40 +04:00
ZyX 374da15667 Use eval in tmux/powerline.conf
fish does not support variables used as commands
2013-05-24 07:18:03 +04:00
ZyX 884a8b0d78 Use powerline-client if possible 2013-05-24 06:25:48 +04:00
ZyX 5bb32fadce Use fallback logger if normal one is not available 2013-05-23 19:03:40 +04:00
ZyX d882d312fc Fix Powerline.exception 2013-05-23 18:55:09 +04:00
ZyX 1977a0125c Remove cache before running self.exception, not after 2013-05-23 18:54:56 +04:00
ZyX 82e2ea10c4 Replace self.pl.exception with self.exception
New function is checking for self.pl being set before using logger and also
removes the need of specifying explicit prefix="powerline".

Conflicts:
	powerline/__init__.py
2013-05-23 18:54:06 +04:00
ZyX 201175d368 Pop path from self.loaded on exception 2013-05-23 18:52:22 +04:00
ZyX f389c43e43 Use `try/except KeyError` in place of `if in dict/else` 2013-05-23 18:52:12 +04:00
ZyX 716f7617c4 Return exception string in place of throwing an exception
Big bunch of `AttributeError`s when renderer failed to be created that renders
vim unusable in case of some of the errors (e.g. invalid configuration) is
annoying.

Conflicts:
	powerline/__init__.py
2013-05-23 18:51:45 +04:00
ZyX 9080a34ee8 Fix problems with merging vim.Dictionary
Also add tests

Fixes #516
2013-05-23 18:36:51 +04:00
Kovid Goyal 75bf6ac7bf Fix #417 2013-05-23 10:42:51 +05:30
Kim Silkebækken 23a59ba93d Merge remote-tracking branch 'zyx-i/fix-511' into develop 2013-05-22 13:58:26 +02:00
ZyX 795b9874ba Add missing import
Also add tests

Fixes #511
2013-05-22 00:22:01 +04:00
Kim Silkebækken 1581d9be9b Merge remote-tracking branch 'jacobwalker0814/feature/477-environment-segment' into develop 2013-05-21 10:12:50 +02:00
Kim Silkebækken 4037c3be4c Merge remote-tracking branch 'inducer/patch-1' into develop 2013-05-21 10:11:49 +02:00
Kim Silkebækken 5710b7b37f Merge remote-tracking branch 'zyx-i/less-viml' into develop 2013-05-21 10:10:11 +02:00
Kim Silkebækken 516642c7f4 Merge branch 'fix-git-errors' into develop 2013-05-21 10:08:46 +02:00
Kovid Goyal bb4bc52c8a Fix path issue 2013-05-21 10:08:07 +02:00
ZyX 79e44dd2a0 Check self.theme_option before using
Fixes #493
2013-05-19 13:28:29 +04:00
ZyX ea3c939320 Fix tests on python3 2013-05-19 13:26:59 +04:00
ZyX 5c2c47aa2f Make .shutdown work if renderer was not created
Fixes #486
2013-05-19 13:23:01 +04:00
ZyX 962a1b6fc2 Fix tests 2013-05-19 13:17:59 +04:00
ZyX ad35b48942 Add VimEnviron object 2013-05-19 13:17:59 +04:00
ZyX dfaf8c3b3a Fix messages 2013-05-19 13:17:58 +04:00
ZyX 07a130ab25 Use vim.vars and *.options if possible 2013-05-19 13:17:58 +04:00
ZyX f10729f637 Add some new features to tests/vim.py 2013-05-19 13:17:58 +04:00
ZyX ebd122d4ac Unfinished attempt to adapt tests to new code 2013-05-19 13:17:58 +04:00
ZyX 9060e2b4cf Fix non-bindeval fallback 2013-05-19 13:17:58 +04:00
ZyX 658232a1aa Update documentation 2013-05-19 13:17:58 +04:00
ZyX 35e723e093 Move code to powerline.vim.setup 2013-05-19 13:17:58 +04:00
ZyX 0823f29f7d Remove unused purgeonevents_reg and launchevent 2013-05-19 13:17:58 +04:00
ZyX 9f20fb1f3f Move some functions from VimL to python code
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.
2013-05-19 13:17:58 +04:00
Kim Silkebækken e3ed3aba6c Merge branch 'fix-git-errors' into develop 2013-05-15 14:36:48 +02:00
Kovid Goyal 459370d71d Fix #489 2013-05-15 14:36:09 +02:00
Kovid Goyal 235d6d3652 Fix #494 2013-05-15 14:35:58 +02:00
Andreas Klöckner 4c4b7a2bb6 Make docs match actual default. 2013-05-13 03:56:55 -03:00
Kim Silkebækken 72ea6730ea Merge remote-tracking branch 'zyx-i/zsh-emulate' into develop 2013-05-06 17:20:05 +02:00
ZyX f83ca080ba Fix typo in scripts/powerline 2013-05-06 19:13:31 +04:00
ZyX ee48836f7c Always return true in install.sh 2013-05-06 19:13:00 +04:00
ZyX f3d7a6394b decode takes no keyword arguments in python-2.6 2013-05-06 19:13:00 +04:00
ZyX ba33c327f5 Add __contains__ method
Fixes #471
2013-05-06 19:13:00 +04:00
ZyX 98b7ed2950 Reset emulate call:
- only emulate -L causes options to be restore after function call
- using setopt outside of functions does not reintroduce #342
2013-05-06 19:13:00 +04:00
Kim Silkebækken 4d5d92dda2 Merge remote-tracking branch 'zyx-i/powerline-daemon' into develop 2013-05-06 15:37:44 +02:00
Kim Silkebækken 1527da10a7 Merge remote-tracking branch 'kovidgoyal/vcs' into develop 2013-05-06 15:33:08 +02:00
Kovid Goyal cdbe85bbde Add a debug() function to allow command line debugging of the vcs code 2013-05-04 09:43:17 +05:30