Commit Graph

1054 Commits

Author SHA1 Message Date
Kim Silkebækken 2a127cdb14 Add error/warning HL groups for vim 2013-08-20 16:04:06 +02:00
Aaron Schrab ed28bb50e6 ignore trailing whitespace errors in .rst files
Use a .gitattributes file to tell git to not highlight trailing
whitespace as an error in .rst files when showing diffs.  A trailing
space is used on many lines in those files to indicate that the
paragraph continues onto the next line.
2013-08-20 09:35:42 -04:00
Aaron Schrab 0ffe6da4e6 Option to suppress error in python-less vim
If the g:powerline_no_python_error variable is set don't issue an error
message even if vim doesn't have the required Python support.  This
allows a common set of configuration files to be used across systems
where some of the copies of vim don't meet the requirements.
2013-08-20 09:33:32 -04:00
Kim Silkebækken 0b5b81774f Add Control-P statuslines
This hacks around the way CtrlP handles statuslines. Powerline will
always override the statusline, but CtrlP doesn't make its details
available as buffer variables so separate functions assign the details
to buffer variables each statusline redraw.

Currently this statusline only uses a couple of highlight groups,
colorschemes should add the HL groups to make this prettier.
2013-08-20 15:29:09 +02:00
Kim Silkebækken 2e38ab5686 Add NERDTree statusline 2013-08-20 13:51:33 +02:00
Kim Silkebækken 42ea2bf539 Create shared namespaces for powerline.{matchers,segments}.plugin 2013-08-20 13:40:36 +02:00
Kim Silkebækken d67e929fec Merge branch 'fix-621' into develop 2013-08-20 13:30:22 +02:00
Kovid Goyal f94ed68211 Fix #621 2013-08-20 13:29:26 +02:00
Kim Silkebækken db27dd37a6 Merge remote-tracking branch 'dbrodie/fix_625' into develop 2013-08-20 13:26:21 +02:00
Kim Silkebækken 9c566e416b Merge remote-tracking branch 'dbrodie/unicode_path_fix' into develop 2013-08-20 13:24:13 +02:00
Kim Silkebækken 5cc6555137 Merge remote-tracking branch 'kovidgoyal/fix-638' into develop 2013-08-20 13:21:24 +02:00
Kim Silkebækken 20ad10015b Merge remote-tracking branch 'aschrab/include_modes' into develop 2013-08-20 13:08:50 +02:00
Kim Silkebækken 5330c4876a Merge branch 'fix-setup-unicode-error' into develop 2013-08-20 13:08:08 +02:00
Kim Silkebækken f107494d84 Make author name ASCII 2013-08-20 13:07:56 +02:00
Kovid Goyal 28c1c0dfb4 More informative error message. Fixes #638 2013-08-20 09:28:11 +05:30
Aaron Schrab 9aee39e412 Handle gitfiles when retrieving branch name
Move code to parse a .git file from the do_status method to a new method
shared with get_branch_name so that branch name can be retreived from
repositories which use a .git file.

Closes #634.
2013-08-16 22:06:30 -04:00
Aaron Schrab 51a5b430a8 Fix handling of segment include_modes
Segments should only be included if rules for both inclusion and
exclusion are satisfied, satisfying one or the other is not sufficient.

If the include_modes list for a segment is missing or empty consider all
modes to be included so that users do not need to supply an exhaustive
list, since there isn't much point in actually wanting an empty include
list.  Actually check for mode name in the list rather than mistakenly
checking for the segment object.
2013-08-16 15:13:54 -04:00
Daniel Brodie e58cb30d7d Fix UnicodeDecodeError when dir_limit_depth and dir_shorten_len are set 2013-08-13 11:05:04 +03:00
Daniel Brodie f15bb19c35 Don't let the vcs detection cross mount point boundaries
Fixes issue 625
2013-08-13 08:48:31 +03:00
Kim Silkebækken 70e279afde Merge branch 'feature/visual-range-segment' into develop 2013-08-06 11:09:11 +02:00
Kim Silkebækken ab6140136d Add visual_range segment
Returns a value similar to `showcmd`.

TODO: Make proper test case.
2013-08-06 10:57:04 +02:00
Kim Silkebækken aa05f22652 Update README 2013-08-05 10:56:27 +02:00
Kim Silkebækken 0b3e354c2e Merge branch 'fix-archlinux-aur-issues' into develop 2013-07-31 16:13:05 +02:00
Kim Silkebækken ad4a1b546a Fix Arch Linux AUR package upload issues
Some workarounds have been added so that AUR correctly parses the
package name and dependencies when the package is uploaded.
2013-07-31 16:11:20 +02:00
Kim Silkebækken 225ac48cfc Merge remote-tracking branch 'tmurph/feature/504-battery-segment' into develop
Conflicts:
	powerline/config_files/colorschemes/tmux/default.json
2013-07-31 15:28:54 +02:00
Kim Silkebækken 432fb81e42 Merge branch 'improve-archlinux-packages' into develop 2013-07-31 15:26:15 +02:00
Kim Silkebækken 99e0cf57b8 Improve Arch Linux packages
Use simplified syntax and messages, fix package names, ref
HalosGhost/patch-{2,3}.
2013-07-31 15:24:40 +02:00
Kim Silkebækken 0ff02f7b1f Merge remote-tracking branch 'mmlb/add-fontpatcher-to-PKGBUILD' into develop 2013-07-31 14:37:10 +02:00
Kim Silkebækken 35364ecbd0 Merge remote-tracking branch 'HalosGhost/patch-3' into develop 2013-07-31 14:34:59 +02:00
Kim Silkebækken 4ea9dcb66f Merge remote-tracking branch 'HalosGhost/patch-2' into develop 2013-07-31 14:34:33 +02:00
Kim Silkebækken 5c88c0ae75 Merge remote-tracking branch 'doitian/tmux-activity-bell-fg' into develop 2013-07-31 14:30:31 +02:00
Kim Silkebækken b4ee360498 Merge remote-tracking branch 'kovidgoyal/fix-578' into develop 2013-07-31 14:28:03 +02:00
Kim Silkebækken 69db1a905f Merge remote-tracking branch 'kovidgoyal/fix-latest-psutil-network' into develop 2013-07-31 08:11:55 +02:00
Kim Silkebækken 9fd64f2dec Merge remote-tracking branch 'kovidgoyal/fix-unicode-in-setup' into develop 2013-07-31 08:03:45 +02:00
Kovid Goyal d1cdf860d1 Fix #604 2013-07-20 18:44:18 +05:30
Kovid Goyal d66806e506 Fix latest psutil breaking network segment 2013-07-14 15:04:34 +05:30
Trevor Murphy 24cda1d947 Add a battery info segment.
Default colors range from red (full battery) to white (no battery) but can be changed via the
`battery' and `battery_gradient' settings.

Default presentation is a formatted percentage string (with keyword `batt').  The `gamify' setting
changes this to a sequence of video game hearts.

Number of steps from 100% to 0% / number of video game heart icons is controlled by the `steps'
setting (default 5).
2013-07-13 22:44:38 -04:00
Ian Yang 82842e015c Set different window name foreground based on activity and bell status. 2013-07-09 09:32:01 +08:00
Kovid Goyal 52c6bff67f Dont log inotify missing error when using branch coloring
The error message about inotify being missing when branch coloring is
enabled was being logged for every directory and for every invocation
of powerline in a shell, without powerline-daemon. Dont log it, since
the log is printed to stderr when using powerline in a shell without
powerline-daemon. Also improve the error message on OS X. Fixes #578
2013-07-03 09:40:05 +05:30
Manuel Mendez 2be3059ebd arch: update pkgrel to 2. 2013-07-02 08:52:22 -04:00
Manuel Mendez 4083cf4cc0 arch: break package() into separate packages. 2013-07-02 08:52:18 -04:00
Manuel Mendez 01560ae714 arch: add fontpatcher to archlinux/python-powerline. 2013-07-02 08:44:12 -04:00
Manuel Mendez ffb29d60d8 arch: add fontpatcher to archlinux/python2-powerline. 2013-07-02 08:43:37 -04:00
Manuel Mendez 79e7640bba arch: add provides=('powerline') to PKGBUILDs. 2013-07-02 08:41:05 -04:00
Sam Stuewe b0c5c05924 Clean up package function for python3
``|| return 1`` is very old syntax and is no longer needed. And, the ``install`` command can handle directory creation and file installation in the same command which cuts a great deal of unnecessary commands out.

Also, remember, ``msg2`` in the package function will be printed during the making of the package, not during the installation. Thus, instead of ``msg2`` (as they really serve only as documentation), comments should be preferred.
2013-06-28 10:48:01 -05:00
Sam Stuewe 1970d0787c Clean up package function for python2
The "|| return 1" is very old syntax and is no longer needed. And, the ``install`` command can handle directory creation and file installation in the same command which cuts a great deal of unnecessary commands out.

Also, remember, msg2s in the package function will be printed during the making of the package, not during the installation. Thus, instead of msg2s (as this really would serve only as documentation), comments should be preferred.
2013-06-28 10:43:12 -05:00
Kim Silkebækken c1ae7f3598 Merge remote-tracking branch 'zyx-i/fix-516' into develop 2013-06-28 14:26:33 +02:00
Kim Silkebækken 67dff293b8 Merge branch 'feature/update-archlinux-packages' into develop 2013-06-28 14:15:07 +02:00
Kim Silkebækken 8d9fa13797 Update Arch Linux packages to use updated VCS syntax
Closes #479
2013-06-28 14:14:37 +02:00
Kim Silkebækken 4ee5072c6d Merge branch 'fix/docs-fontpatcher-path' into develop 2013-06-28 13:55:37 +02:00