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
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
Kim Silkebækken
51d64b76e9
Merge remote-tracking branch 'zyx-i/improved-generate_gradients' into develop
2013-04-20 16:58:07 +02:00
Kim Silkebækken
02eee6f54e
Merge remote-tracking branch 'zyx-i/virtcol-current-gradient' into develop
...
Conflicts:
tests/vim.py
2013-04-20 16:57:37 +02:00
Kim Silkebækken
badc2cf891
Merge remote-tracking branch 'zyx-i/doc-lint' into develop
2013-04-20 16:56:43 +02:00
ZyX
1df447ebc1
Record last exit code before running anything
...
Otherwise powerline receieves value from the previous command in
_powerline_prompt function.
2013-04-18 07:40:31 +04:00
ZyX
2a6a4a07e6
Replace {path} with {repository_root}
...
Closes #429
2013-04-16 07:58:24 +04:00
ZyX
18579d70a6
Fix TypeError seen in older vim versions
2013-04-14 13:23:25 +04:00
ZyX
bd0546d688
Add virtcol_current textwidth-based gradient
2013-04-13 19:37:43 +04:00
ZyX
cce79fda0e
Add support for getbufvar('%') and &textwidth option to vim emulation
2013-04-13 19:37:23 +04:00
ZyX
1ffa8a471a
Add GREEN_Orange_red gradient for solarized
2013-04-13 19:36:19 +04:00
ZyX
a5210d800c
Add dark_GREEN_Orange_red gradient
...
Generated with
./tools/generate_gradients.py 22 58 94 52 --weights '60 15 10 2'
. For use in virtcol_current.
2013-04-13 19:36:04 +04:00
ZyX
2d036c0de8
Fix indentation of dictionaries
2013-04-13 19:35:25 +04:00
ZyX
b883ac6ee8
Use same modeline in scripts/* as in other files
2013-04-13 19:34:55 +04:00
ZyX
9e518ab682
Improve generate_gradients tool
...
Changes:
- Port argument parsing to argparse
- Add weights support
- Add ability to specify cterm palette
- Purge out first 16 colors from color choosing by default
- Improve different scales and different preview length support
2013-04-13 19:33:41 +04:00
ZyX
a4c59ded76
Make tests more verbose and catch first KeyboardInterrupt
2013-04-13 15:44:08 +04:00
ZyX
25627363b0
Do not use second argument to itertools.count in other place
2013-04-13 15:16:45 +04:00
ZyX
4449489e59
Do not use second argument to itertools.count
2013-04-13 15:08:27 +04:00
ZyX
5e93d20fb8
Do not sort segments that are always included
2013-04-13 15:05:39 +04:00
ZyX
ae691b7cd8
Improve shown errors
2013-04-13 14:47:39 +04:00
ZyX
fee328666f
Improve arguments checks
2013-04-13 14:20:54 +04:00
ZyX
7e57010c19
Move some code from powerline_autodoc to powerline.lib.inspect
...
To make it available later in lint checker.
2013-04-13 00:09:00 +04:00
ZyX
4dd9c5196e
Respect segment.py highlight group handling in powerline-lint
...
Either `highlight_group` or `name` key is enough to determine highlight group
for non-function segments, but powerline-lint requires `highlight_group`.
2013-04-12 23:45:48 +04:00
ZyX
c7946cda3e
Use different default for functions
...
This makes it look up `powerline.segments.vim.virtualenv` in addition to
virtualenv in colorscheme like it does with `segment_data`.
2013-04-12 23:45:48 +04:00
ZyX
a8eb0a2471
Special-case None priority in place of -1
...
This extends priorities in both directions, uses slightly faster `is None`
check, makes it consistent with `interval` special-casing also to `None` and
makes lint able to use one simple `.type()` check in place of `.either()` one.
2013-04-12 23:45:48 +04:00
ZyX
49618fc4e3
Rename PowerlineState to PowerlineLogger
2013-04-12 23:45:47 +04:00
ZyX
587789ebda
Fix documentation for ThreadedSegment classes with @staticmethod’s
2013-04-12 23:45:47 +04:00
ZyX
9250d794d7
Remove `pl` argument and first argument to `render*` from docs
2013-04-12 23:45:47 +04:00
ZyX
ac88a09436
Add renderer docstrings.
2013-04-12 23:45:47 +04:00
ZyX
3ce068db94
Make vim and ipython ext configurations optional
2013-04-12 23:45:47 +04:00
ZyX
40973ea530
Alter indentation
2013-04-12 23:45:42 +04:00