mirror of
https://github.com/powerline/powerline.git
synced 2025-07-31 01:35:40 +02:00
Fix a bunch of typos
This commit is contained in:
parent
9739ec5020
commit
3ee11c71a8
@ -10,7 +10,7 @@ prompt). Used themes are defined in :ref:`local_themes key
|
|||||||
Vim local themes
|
Vim local themes
|
||||||
================
|
================
|
||||||
|
|
||||||
Vim is the only available extension that has a wide variaty of options for local
|
Vim is the only available extension that has a wide variety of options for local
|
||||||
themes. It is the only extension where local theme key refers to a function as
|
themes. It is the only extension where local theme key refers to a function as
|
||||||
described in :ref:`local_themes value documentation <config-ext-local_themes>`.
|
described in :ref:`local_themes value documentation <config-ext-local_themes>`.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ After an update something stopped working
|
|||||||
Assuming powerline was working before update and stopped only after there are
|
Assuming powerline was working before update and stopped only after there are
|
||||||
two possible explanations:
|
two possible explanations:
|
||||||
|
|
||||||
* You have more then one powerline installation (e.g. ``pip`` and ``Vundle``
|
* You have more than one powerline installation (e.g. ``pip`` and ``Vundle``
|
||||||
installations) and you have updated only one.
|
installations) and you have updated only one.
|
||||||
* Update brought some bug to powerline.
|
* Update brought some bug to powerline.
|
||||||
|
|
||||||
|
@ -958,7 +958,7 @@ class Powerline(object):
|
|||||||
shut down all threads. Set it to False unless you are exiting an
|
shut down all threads. Set it to False unless you are exiting an
|
||||||
application.
|
application.
|
||||||
|
|
||||||
If set to False this does nothing more then resolving reference
|
If set to False this does nothing more than resolving reference
|
||||||
cycle ``powerline → config_loader → bound methods → powerline`` by
|
cycle ``powerline → config_loader → bound methods → powerline`` by
|
||||||
unsubscribing from config_loader events.
|
unsubscribing from config_loader events.
|
||||||
'''
|
'''
|
||||||
|
@ -85,7 +85,7 @@ def register_strwidth_error(strwidth):
|
|||||||
needed settings) and emits new error handling method name.
|
needed settings) and emits new error handling method name.
|
||||||
|
|
||||||
:param function strwidth:
|
:param function strwidth:
|
||||||
Function that computs string width measured in display cells the string
|
Function that computes string width measured in display cells the string
|
||||||
occupies when displayed.
|
occupies when displayed.
|
||||||
|
|
||||||
:return: New error handling method name.
|
:return: New error handling method name.
|
||||||
|
@ -423,7 +423,7 @@ class Scanner:
|
|||||||
if self.peek(k) not in hexdigits:
|
if self.peek(k) not in hexdigits:
|
||||||
raise ScannerError(
|
raise ScannerError(
|
||||||
'while scanning a double-quoted scalar', start_mark,
|
'while scanning a double-quoted scalar', start_mark,
|
||||||
'expected escape sequence of %d hexdecimal numbers, but found %r' % (
|
'expected escape sequence of %d hexadecimal numbers, but found %r' % (
|
||||||
length, self.peek(k)),
|
length, self.peek(k)),
|
||||||
self.get_mark()
|
self.get_mark()
|
||||||
)
|
)
|
||||||
|
@ -46,7 +46,7 @@ class Spec(object):
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
In ``check_`` and ``match`` methods specifications are identified by
|
In ``check_`` and ``match`` methods specifications are identified by
|
||||||
their indexes for the purpose of simplyfying :py:meth:`Spec.copy`
|
their indexes for the purpose of simplifying :py:meth:`Spec.copy`
|
||||||
method.
|
method.
|
||||||
|
|
||||||
Some common parameters:
|
Some common parameters:
|
||||||
|
@ -247,7 +247,7 @@ def mode(pl, segment_info, names={'default': None}):
|
|||||||
Specifies the string to show for various modes.
|
Specifies the string to show for various modes.
|
||||||
Use ``null`` to hide a mode (``default`` is hidden by default).
|
Use ``null`` to hide a mode (``default`` is hidden by default).
|
||||||
|
|
||||||
Highligh groups used: ``mode``
|
Highlight groups used: ``mode``
|
||||||
'''
|
'''
|
||||||
mode = segment_info['mode']
|
mode = segment_info['mode']
|
||||||
if mode in names:
|
if mode in names:
|
||||||
|
@ -127,7 +127,7 @@ def visual_range(pl, segment_info, CTRL_V_text='{rows} x {vcols}', v_text_onelin
|
|||||||
selection occupies only one line.
|
selection occupies only one line.
|
||||||
:param str v_text_multiline:
|
:param str v_text_multiline:
|
||||||
Text to display when in charaterwise visual or select mode, assuming
|
Text to display when in charaterwise visual or select mode, assuming
|
||||||
selection occupies more then one line.
|
selection occupies more than one line.
|
||||||
:param str V_text:
|
:param str V_text:
|
||||||
Text to display when in linewise visual or select mode.
|
Text to display when in linewise visual or select mode.
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ def shutdown(sock, read_sockets, write_sockets, state):
|
|||||||
#. Notifies segments based on
|
#. Notifies segments based on
|
||||||
:py:class:`powerline.lib.threaded.ThreadedSegment` and WM-specific
|
:py:class:`powerline.lib.threaded.ThreadedSegment` and WM-specific
|
||||||
threads that daemon is shutting down.
|
threads that daemon is shutting down.
|
||||||
#. Waits for threads to finish, but no more then 2 seconds total.
|
#. Waits for threads to finish, but no more than 2 seconds total.
|
||||||
#. Waits so that total execution time of this function is 2 seconds in order
|
#. Waits so that total execution time of this function is 2 seconds in order
|
||||||
to allow ThreadedSegments to finish.
|
to allow ThreadedSegments to finish.
|
||||||
'''
|
'''
|
||||||
|
@ -217,7 +217,7 @@ IPYTHON_PYTHON=ipython
|
|||||||
|
|
||||||
if test -z "$POWERLINE_RC_EXE" ; then
|
if test -z "$POWERLINE_RC_EXE" ; then
|
||||||
if which rc-status >/dev/null ; then
|
if which rc-status >/dev/null ; then
|
||||||
# On Gentoo `rc` executable is from OpenRC. Thus app-shells/rc instals
|
# On Gentoo `rc` executable is from OpenRC. Thus app-shells/rc installs
|
||||||
# `rcsh` executable.
|
# `rcsh` executable.
|
||||||
POWERLINE_RC_EXE=rcsh
|
POWERLINE_RC_EXE=rcsh
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user