1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:50:06 +08:00
SpaceVim/bundle/FlyGrep/autoload/flygrep.vim

9 lines
254 B
VimL
Raw Permalink Normal View History

2023-06-27 02:03:40 +08:00
function! flygrep#open(argv) abort
call SpaceVim#plugins#flygrep#open(a:argv)
endfunction
function! flygrep#statusline() abort
let st = ' FlyGrep %{getcwd()} '
return st . "%{getline(1) ==# '' ? '' : (line('.') . '/' . line('$'))}"
endfunction