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:
parent
4db7e1de34
commit
aaf9cd70f0
@ -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
|
||||
|
||||
" }}}
|
||||
|
Loading…
Reference in New Issue
Block a user