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