From 8b3028816ebcb305aeafe94855fdd58a7153eb68 Mon Sep 17 00:00:00 2001 From: Simon Truscott Date: Mon, 7 Aug 2023 04:58:20 +1000 Subject: [PATCH] Refactor status line concatenation --- autoload/mistfly.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/mistfly.vim b/autoload/mistfly.vim index 717e769..c272982 100644 --- a/autoload/mistfly.vim +++ b/autoload/mistfly.vim @@ -263,7 +263,8 @@ function! mistfly#ActiveStatusLine() abort let l:statusline .= l:branch_name . '%* ' endif let l:statusline .= mistfly#PluginsStatus() - let l:statusline .= '%*%=%l:%c %*' . l:separator + let l:statusline .= '%*%=' + let l:statusline .= '%l:%c %*' . l:separator let l:statusline .= '%* ' . l:mode_emphasis . '%L%* ' . l:progress . '%P ' if g:mistflyWithIndentStatus let l:statusline .= '%*' . l:separator