mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Remove last vestiges of :Gread!
This commit is contained in:
@@ -6090,9 +6090,6 @@ endfunction
|
||||
|
||||
function! fugitive#ReadCommand(line1, count, range, bang, mods, arg, ...) abort
|
||||
exe s:VersionCheck()
|
||||
if a:bang
|
||||
return 'echoerr ' . string(':Gread! for temp buffer output has been replaced by :{range}Git! --paginate')
|
||||
endif
|
||||
let [read, post] = s:ReadPrepare(a:line1, a:count, a:range, a:mods)
|
||||
try
|
||||
let [file, pre] = s:OpenParse(a:arg, 0)
|
||||
@@ -6114,11 +6111,7 @@ function! fugitive#EditComplete(A, L, P) abort
|
||||
endfunction
|
||||
|
||||
function! fugitive#ReadComplete(A, L, P) abort
|
||||
if a:L =~# '^\w\+!'
|
||||
return fugitive#Complete(a:A, a:L, a:P)
|
||||
else
|
||||
return fugitive#EditComplete(a:A, a:L, a:P)
|
||||
endif
|
||||
return fugitive#EditComplete(a:A, a:L, a:P)
|
||||
endfunction
|
||||
|
||||
" Section: :Gwrite, :Gwq
|
||||
|
||||
Reference in New Issue
Block a user