Commit Graph

771 Commits

Author SHA1 Message Date
ZyX 31c86486fe Disable vim.bindeval support for vim_getwar for old vim versions 2013-06-22 19:00:56 +04:00
ZyX 9080a34ee8 Fix problems with merging vim.Dictionary
Also add tests

Fixes #516
2013-05-23 18:36:51 +04:00
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
Kovid Goyal 41783344a8 Turn off status colors by default in vim as well 2013-05-04 08:21:28 +05:30
Kovid Goyal af018120e1 Forgot to move the import to module level 2013-05-03 10:50:57 +05:30
Kovid Goyal 7b495aff0c Fix tests failing if inotify not available 2013-05-03 10:34:50 +05:30
Jacob Walker ed65d34e1a Segment to Print Environment Variables
- Added segment function to powerline.segments.common.
 - Added test to check return values.
 - Added default colorschemes for everything but iPython.

Ref #477
2013-05-02 09:35:13 -05:00
ZyX 495f87a527 Remove debugging lines 2013-05-02 16:06:52 +04:00
ZyX 467bc53589 Also fix bash tests 2013-05-02 16:01:44 +04:00
ZyX b78a8cea14 Fix tmux tests 2013-05-02 15:47:05 +04:00
ZyX 26ad068265 Fix tmux cwd segment
Fixes #467

Still needs colors for cwd:current_folder, cwd and cwd:divider
2013-05-02 15:19:56 +04:00
ZyX a202072292 Use deepcopy in powerline.lib.config 2013-05-02 14:55:31 +04:00
ZyX 4c426df5e0 Move --config and --theme_option processing to finish_args 2013-05-02 14:13:43 +04:00
Kovid Goyal ad55daf9c3 Make vcs segments *much* faster
Do not call vcs status unless the relevant files have changed.
Uses inotify, if available, otherwise falls back to stat() based
monitoring. Fixes #396
2013-05-02 11:13:54 +05:30
Kim Silkebækken 7ccab8e436 Merge remote-tracking branch 'zyx-i/readd-pl-argument' into develop 2013-04-21 21:28:50 +02:00
ZyX 6ecba94b9a Added missing pl argument
It is a problem with git automatic merging.
2013-04-21 00:38:26 +04:00
Kim Silkebækken 18a05b4445 Merge remote-tracking branch 'zyx-i/record-last_exit_code' into develop 2013-04-20 17:00:52 +02:00