mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 14:25:21 +02:00
Do not use “rows” and “cols” in text
Reason: string “1 rows” is incorrect and I do not want to implement proper number handling (*proper* handling is *not* limited to plural/singular form like in English).
This commit is contained in:
parent
97978eaf77
commit
702f43858b
@ -104,7 +104,7 @@ def mode(pl, segment_info, override=None):
|
||||
|
||||
@window_cached
|
||||
@requires_segment_info
|
||||
def visual_range(pl, segment_info, CTRL_V_text='{rows} × {vcols}', v_text_oneline='{vcols} cols', v_text_multiline='{rows} rows', V_text='{rows} rows'):
|
||||
def visual_range(pl, segment_info, CTRL_V_text='{rows} × {vcols}', v_text_oneline='C:{vcols}', v_text_multiline='L:{rows}', V_text='L:{rows}'):
|
||||
'''Return the current visual selection range.
|
||||
|
||||
:param str CTRL_V_text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user