1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:10:05 +08:00
SpaceVim/bundle/FlyGrep/autoload/flygrep.vim
2023-06-27 02:03:40 +08:00

9 lines
254 B
VimL

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