Move statusline truncation market after mode

This commit is contained in:
Kenneth Benzie 2021-04-20 23:20:51 +01:00
parent 46283e3b95
commit 455c1f1b94

View File

@ -59,7 +59,7 @@ function! statusline#generic(group, mode)
\.'%{&paste ? "Paste " : ""}'
\.'%)'
" Display filename with dark or changed highlights.
let l:file = (&modified ? '%#StatusLineChange#' : '%#StatusLineDark#').' %f'
let l:file = (&modified ? '%#StatusLineChange#' : '%#StatusLineDark#').' %<%f'
" Display readonly and nomodifiable if set.
let l:state = '%#StatusLineDark#'
\.'%{&readonly ? " 🔒" : ""}'