parent
51cdb1b190
commit
17393f552e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user