1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:10:06 +08:00

Improve statusline for flygrep

This commit is contained in:
wsdjeg 2018-02-22 09:30:02 +08:00
parent 4db7e1de34
commit aaf9cd70f0

View File

@ -398,8 +398,7 @@ function! SpaceVim#plugins#flygrep#lineNr() abort
endfunction
function! SpaceVim#plugins#flygrep#mode()
return s:grep_mode
return empty(s:mode) ? '' : '(' . s:mode . ')'
return s:grep_mode . (empty(s:mode) ? '' : '(' . s:mode . ')')
endfunction
" }}}