Commit Graph

828 Commits

Author SHA1 Message Date
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
Kim Silkebækken 6439800d9c Merge branch 'fix-quickfix-buffer-highlighting' into develop 2013-04-12 21:19:19 +02:00
Kim Silkebækken d81d6f163f vim: Fix missing qf buffer highlighting 2013-04-12 21:19:06 +02:00
Kim Silkebækken ceeef4abde Merge branch 'fix-archlinux-packages' into develop 2013-04-12 20:29:16 +02:00
Kim Silkebækken 79fcdc63bd Update Arch Linux optdepends and conflicts 2013-04-12 20:29:07 +02:00
Kim Silkebækken a1f370490b Merge branch 'feature/vim-special-windows' into develop 2013-04-11 11:53:05 +02:00
Kim Silkebækken 7864acb70b Update tests 2013-04-11 11:52:54 +02:00
Kim Silkebækken 8230f542c6 vim: Add quickfix window statusline
Closes #419
2013-04-11 11:50:35 +02:00
Kim Silkebækken 739514efc5 Merge remote-tracking branch 'zyx-i/fix-411' into develop 2013-04-09 10:29:56 +02:00
ZyX de678ed289 Create VimPowerline.reset_highlight proxy method
Fixes #411
2013-04-09 00:37:53 +04:00
Kim Silkebækken a7daa507ab Merge remote-tracking branch 'zyx-i/alter-priority' into develop 2013-04-08 11:47:51 +02:00
Kim Silkebækken 0c7cc25a02 Merge remote-tracking branch 'zyx-i/threaded-cpu_load_percent' into develop 2013-04-08 11:39:23 +02:00
Kim Silkebækken 51a9bbdbce Merge remote-tracking branch 'zyx-i/ipython-shutdown' into develop 2013-04-08 11:38:04 +02:00
Kim Silkebækken e6ae8ca49f Merge remote-tracking branch 'zyx-i/persistent-awesome' into develop 2013-04-08 11:36:44 +02:00
Kim Silkebækken c1ed109422 Merge remote-tracking branch 'zyx-i/more-threaded-globals' into develop 2013-04-08 11:31:04 +02:00