Fix :Glog
This commit is contained in:
parent
cb613ca05d
commit
442d56e23c
@ -3862,7 +3862,7 @@ function! s:Log(type, bang, line1, count, args, legacy) abort
|
|||||||
if empty(paths + extra) && a:legacy && len(s:Relative('/'))
|
if empty(paths + extra) && a:legacy && len(s:Relative('/'))
|
||||||
let after = '|echohl WarningMsg|echo ' . string('Use :0Glog or :0Gclog for old behavior of targeting current file') . '|echohl NONE' . after
|
let after = '|echohl WarningMsg|echo ' . string('Use :0Glog or :0Gclog for old behavior of targeting current file') . '|echohl NONE' . after
|
||||||
endif
|
endif
|
||||||
return s:QuickfixStream(listnr, title, s:UserCommand(dir, cmd), !a:bang, s:function('s:LogParse'), state, path, dir) . after
|
return s:QuickfixStream(listnr, title, s:UserCommandList(dir) + cmd, !a:bang, s:function('s:LogParse'), state, path, dir) . after
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call s:command("-bang -nargs=? -range=-1 -addr=windows -complete=customlist,s:GrepComplete Ggrep", "grep")
|
call s:command("-bang -nargs=? -range=-1 -addr=windows -complete=customlist,s:GrepComplete Ggrep", "grep")
|
||||||
|
Loading…
Reference in New Issue
Block a user