Commit Graph

1095 Commits

Author SHA1 Message Date
Glandos c97bc8249f Fix display for home directory 2013-12-01 12:35:12 +01:00
Glandos fb7eec2985 Don't show '//' when using path separator
Currently, the cwd segment is showing //etc when we are in /etc and / when we are in the root file.
This small patch fix this
2013-12-01 12:11:53 +01:00
ZyX ccf070cbcd Remove Gentoo ebuild and reference raiagent overlay 2013-12-01 14:23:29 +04:00
Tao Wu 4836cbb43e Update solarizedlight.json
Update name to "Solarized Light".
2013-11-21 16:03:58 +01:00
Tao Wu 1e0f13aede add Solarized Light colour theme for Vim 2013-11-21 14:23:14 +01:00
ZyX bb0d9028f1 Make sure watcher is not used 2013-11-21 00:23:25 +04:00
ZyX 95d13a334a Test that nothing is reloaded with run_once=True 2013-11-21 00:18:34 +04:00
ZyX 6a4b8bc49c Pass run_once to ConfigLoader, make it respect run_once
It only respects run_once by using DummyWatcher instead of a watcher doing 
something potentially useful

Ref #711
2013-11-20 23:51:26 +04:00
ZyX 2ef0d4412d Add jobnum segment
Replaces #596. Differences:
- Tests and metavar.
- Uses “jobnum” name in place of “jobs”.
- Does not use subshell for zsh. Also counts jobs correctly in zsh.
- Adds an option to force showing jobnum segment even if there are no jobs.
2013-11-19 01:01:49 +04:00
ZyX a06fe3ad5f Do not double pl.exception() call, record used pl in variable instead 2013-11-17 16:40:15 +04:00
William Snyders f0476f9968 Update dependanceies for Arch packages. 2013-11-15 11:55:55 -08:00
ZyX 3746548418 Do not mention zpython branch
It is not usable due to some bugs, not maintained and replaced by 
powerline-client
2013-11-04 23:16:45 +04:00
ZyX 8d36f4221a Set TMUX_PWD_* on startup
Ref #672
2013-11-04 23:15:51 +04:00
ZyX 9446ac91f8 Make sure flake8 does not show any errors in powerline/lint/**/*.py files 2013-11-03 02:15:24 +04:00
ZyX b5f051f71c Fix powerline-lint tests
Some notes on the commit:

1. As external_ip and email_imap_alert segments seem to be removed corresponding
   segment_data keys also were removed.
2. Various files that import vim module now have the usual workaround that sets
   vim local to dummy object on error.
3. Syntastic check was failing because it did not specify which highlighting
   groups it uses in documentation. I made it specify them and also moved format
   strings to keywords. Same for some other plugin-local themes.
4. powerline-lint script got --debug argument. Pretty useless currently though:
   it only makes it output traceback for ImportError when failing to import
   module to stderr.
5. Moved themes/vim/plugin/*.json to themes/vim/plugin_*.json.
6. Fixed powerline-lint that ignored problems from values.
2013-11-03 01:48:16 +04:00
Evan Callicoat c293b62132 Fix weather geoip lookups
- _external_ip() isn't necessary with freegeoip.net as it does this for you when unspecified.
- region_name/country_name make Yahoo's weather API unhappy whereas region_code/country_code work for me (TX/US)
2013-11-01 00:57:33 -05:00
Tore Sinding Bekkedal 561b715824 Make clearer the naming conflict in PyPI (closes #681) 2013-10-16 01:42:07 +02:00
Peter Fern 1d385f875f Avoid infinite recursion in `POWERLINE_OLD_PROMPT_COMMAND`
Fixes #678
2013-10-15 21:21:12 +11:00
Jesse a810e37f02 workaround for _powerline_tmux_setenv() issue with bash-4.2.45 2013-10-05 03:31:34 -04:00
Kovid Goyal 7423b55cc4 Fix git branch name sometimes getting stuck with inotify
If you try to checkout the already current branch in git, git creates
HEAD.lock and renames it to HEAD. This causes the inode of HEAD to
change and so the inotify file watcher stops tracking HEAD.

The fix is to re-create the inotify watch when the file attributes
change. This is a bit of a performance penalty as most of the time the
attribute changes are simple last modified time/size changes, but since
inotify provides no way to know specifically when the inode has changed,
this is the best we can do.
2013-09-25 10:27:48 +05:30
Kim Silkebækken db80fc95ed Merge branch 'fix/error-info-string-format' into develop 2013-08-27 10:22:04 +02:00
Wang Xuerui 4f1c26aa24 Make extra error info string
Fixes #645
2013-08-27 10:21:35 +02:00
Kim Silkebækken c278c2d9c1 Merge branch 'fix/cs-syntax-error' into develop 2013-08-21 10:02:48 +02:00
Kim Silkebækken 9314ed99c5 Add missing comma in solarized colorscheme 2013-08-21 10:02:26 +02:00
Kim Silkebækken ebc2d4f424 Merge branch 'update-readme' into develop 2013-08-20 17:59:49 +02:00
Kim Silkebækken f12bb70559 Add links to Google Groups 2013-08-20 17:59:41 +02:00
Kim Silkebækken fbe6a50e0f Merge branch 'fix/remove-inet-segments' into develop 2013-08-20 17:40:53 +02:00
Kim Silkebækken 6e8318ac52 Remove long-running segments from tmux
The segments will be re-added when the daemon is merged and the docs
are updated.
2013-08-20 17:40:28 +02:00
Kim Silkebækken 44a37b0180 Merge branch 'feature/plugin-statuslines' into develop
Refs #3, #524, #470
Closes #377
Closes #451
2013-08-20 17:29:02 +02:00
Kim Silkebækken d0429ac023 Add Tagbar current tag segment 2013-08-20 17:26:36 +02:00
Kim Silkebækken 0fc79d2849 Center align CtrlP current segment 2013-08-20 17:14:24 +02:00
Kim Silkebækken 3d3450d8c1 Add Gundo statuslines 2013-08-20 17:07:18 +02:00
Kim Silkebækken 1fe98e1c3d Update CtrlP config to match segment changes 2013-08-20 17:01:08 +02:00
Kim Silkebækken 8a0e1f2748 Merge remote-tracking branch 'aschrab/trailing_whitespace' into develop 2013-08-20 16:51:06 +02:00
Kim Silkebækken 7ec4cb9b26 Merge remote-tracking branch 'aschrab/gitfile' into develop 2013-08-20 16:50:48 +02:00
Kim Silkebækken fabc45f1dc Merge remote-tracking branch 'aschrab/no_python_warning' into develop 2013-08-20 16:50:27 +02:00
Kim Silkebækken 74d4ee9669 Update tests
Unit tests are not run on external segments. When external segments are
moved out of the core repo the extra test code won't be needed.
2013-08-20 16:48:54 +02:00
Kim Silkebækken e19a63aaa9 Update plugin segments to use bindings 2013-08-20 16:48:36 +02:00
Kim Silkebækken 6baf1f8e90 Add Syntastic statusline
Refs #376, #639.
Closes #451.
2013-08-20 16:08:11 +02:00
Kim Silkebækken 7aee4c1dd7 Align default vim colorscheme attributes 2013-08-20 16:05:10 +02:00
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