mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 15:23:51 -05:00
@@ -468,7 +468,7 @@ function! s:buffer_setvar(var,value) dict abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:buffer_getline(lnum) dict abort
|
function! s:buffer_getline(lnum) dict abort
|
||||||
return getbufline(bufname(self['#']), a:lnum)[0]
|
return get(getbufline(bufname(self['#']), a:lnum), 0, '')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:buffer_repo() dict abort
|
function! s:buffer_repo() dict abort
|
||||||
|
|||||||
Reference in New Issue
Block a user