Skip to content

Commit

Permalink
Merge pull request #41 from Freed-Wu/iss23
Browse files Browse the repository at this point in the history
Fix #23
  • Loading branch information
skywind3000 authored Sep 15, 2020
2 parents 1bb24d8 + ad72bc1 commit ec01510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/quickui/listbox.vim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function! quickui#listbox#parse(textlist)
for description in a:textlist
let obj = quickui#core#single_parse(description)
let objects += [obj]
if obj.key_pos > 0
if obj.key_pos >= 0
let items.keymap[tolower(obj.key_char)] = items.nrows
endif
let items.nrows += 1
Expand Down

0 comments on commit ec01510

Please sign in to comment.