mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 19:43:46 -05:00
Tab complete !bufnr
This commit is contained in:
@@ -2302,7 +2302,7 @@ function! fugitive#CompleteObject(base, ...) abort
|
|||||||
endif
|
endif
|
||||||
let base = s:Expand(a:base)
|
let base = s:Expand(a:base)
|
||||||
|
|
||||||
if a:base ==# '!' && base !=# '!'
|
if a:base =~# '^!\d*$' && base !~# '^!'
|
||||||
return [base]
|
return [base]
|
||||||
elseif base =~# '^\.\=/\|^:(' || base !~# ':'
|
elseif base =~# '^\.\=/\|^:(' || base !~# ':'
|
||||||
let results = []
|
let results = []
|
||||||
|
|||||||
Reference in New Issue
Block a user