mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 13:53:51 -05:00
Remove #Repo and #Buffer
Let's save these for when we're ready to rename the instance variables too.
This commit is contained in:
@@ -308,10 +308,6 @@ function! fugitive#repo(...) abort
|
|||||||
return call('s:repo', a:000)
|
return call('s:repo', a:000)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fugitive#Repo(...) abort
|
|
||||||
return call('s:repo', a:000)
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:repo_dir(...) dict abort
|
function! s:repo_dir(...) dict abort
|
||||||
return join([self.git_dir]+a:000,'/')
|
return join([self.git_dir]+a:000,'/')
|
||||||
endfunction
|
endfunction
|
||||||
@@ -571,10 +567,6 @@ function! fugitive#buffer(...) abort
|
|||||||
return s:buffer(a:0 ? a:1 : '%')
|
return s:buffer(a:0 ? a:1 : '%')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fugitive#Buffer(...) abort
|
|
||||||
return s:buffer(a:0 ? a:1 : '%')
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! s:buffer_getvar(var) dict abort
|
function! s:buffer_getvar(var) dict abort
|
||||||
return getbufvar(self['#'],a:var)
|
return getbufvar(self['#'],a:var)
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user