Skip to content

Commit 60ee57e

Browse files
author
skywind3000
committed
improve compatibility
1 parent c34d67f commit 60ee57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/quickui/core.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ endfunc
246246
"----------------------------------------------------------------------
247247
function! quickui#core#object(bid)
248248
let name = '__quickui__'
249-
let bid = (a:bid > 0)? a:bid : (bufnr())
249+
let bid = (a:bid > 0)? a:bid : (bufnr(''))
250250
if bufexists(bid) == 0
251251
return v:null
252252
endif

0 commit comments

Comments
 (0)