1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

Merge remote-tracking branch 'arachsys/master'

This commit is contained in:
Maxime Coste 2021-12-12 09:29:40 +11:00
commit 513753a2ec

View File

@ -1443,7 +1443,8 @@ public:
auto main_index = context().selections().main_index(); auto main_index = context().selections().main_index();
return {AtomList{ { "insert", context().faces()["StatusLineMode"] }, return {AtomList{ { "insert", context().faces()["StatusLineMode"] },
{ " ", context().faces()["StatusLine"] }, { " ", context().faces()["StatusLine"] },
{ format( "{} sels ({})", num_sel, main_index + 1), { num_sel == 1 ? format("{} sel", num_sel)
: format("{} sels ({})", num_sel, main_index + 1),
context().faces()["StatusLineInfo"] } }}; context().faces()["StatusLineInfo"] } }};
} }