* Update Powerline for ipython >=7
The method used for `since_5` does not work, but `since_7` does, however it is not documented.
I personally haven't found `c = get_config()` to be useful once you have generated the default `~/.ipython/profile_default/ipython_config.py` file.
Since `c.TerminalInteractiveShell.simple_prompt` is set to `False` by default, it's not worth mentioning it. There's many other things that **can** break if you change the default config options too. Additionally, `simple_prompt=True` doesn't fatally break anything, just make things less pretty. So it'd be better to not have that, but mention if things don't look pretty to make sure they didn't change that default.
* Making it work on latest version
* spacing
This segment has the same functionality and interface as the Syntastic
Vim segment plugin, and the code is largely adapted from it.
Documentation stub is also included
Specifically:
- Do not log exceptions to the same location data is output.
- Fix format, i3bar is no longer using “pseudo-JSON”, also not sure whether it
ever used format `[[right list], [left list]]`, but it definitely does not
now.
- i3bgbar branch is no longer available.
- Yet i3wm supports background color, just with the different key (`background`
vs `background_color`).
Users may be confused when installing powerline as it does not appear by
default in single-window mode. This change alerts users that they should
not expect to see the status line and points them to the help documents
for laststatus so that they can activate it in all cases if they want.
* The display_condition key in the docs was rendered as
'display_condition`' due to a small typo. This commit fixes that.
Signed-off-by: mr.Shu <mr@shu.io>
Changes:
- Usage determination transferred back to argparse (it wraps).
- Added complete description of lemonbar script to wm-widgets.rst.
- --interval and --height got their arguments clarified by metavar: it was not
clear what units they use.
- --bar-command got its metavar because it is better then default BAR_COMMAND.
- --bar-command short variant is now -C.
Bugs:
- Default action is store_true while it should be just store.
- nargs default depends on metavar while it should only depend on action.
- REMAINDER nargs is not supported.
Minimal argument means minimal mode which removes all section and creates
a container with “synopsis” and “description” sections’ contents.
Tmux-2.1 appears not to output leading `%` when using `tmux display -p '#D'`.
This change changes type of the `pane_id` argument: leading `%` turns it into
a literal string, number in front makes it be parsed as a JSON number.
Fixes#1470
Python2 manpage generation seems unaffected.
Warnings occur when generating with python3:
.../docs/source/configuration/segments/vim.rst:27: WARNING: error while
formatting arguments for
powerline.segments.vim.plugin.tagbar.current_tag: decoding str is not
supported