Move statusline truncation market after mode
This commit is contained in:
parent
46283e3b95
commit
455c1f1b94
@ -59,7 +59,7 @@ function! statusline#generic(group, mode)
|
|||||||
\.'%{&paste ? "Paste " : ""}'
|
\.'%{&paste ? "Paste " : ""}'
|
||||||
\.'%)'
|
\.'%)'
|
||||||
" Display filename with dark or changed highlights.
|
" 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.
|
" Display readonly and nomodifiable if set.
|
||||||
let l:state = '%#StatusLineDark#'
|
let l:state = '%#StatusLineDark#'
|
||||||
\.'%{&readonly ? " 🔒" : ""}'
|
\.'%{&readonly ? " 🔒" : ""}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user