mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:10:05 +08:00
Fix index checking
as `index(['1'], 1) == -1`, so change the first index to '1'.
This commit is contained in:
parent
c070505edf
commit
df92a041dc
@ -42,7 +42,7 @@ function! s:menu(items) abort
|
||||
let saved_more = &more
|
||||
set nomore
|
||||
let items = s:parseItems(a:items)
|
||||
let selected = 1
|
||||
let selected = '1'
|
||||
let exit = 0
|
||||
let indent = repeat(' ', 7)
|
||||
while !exit
|
||||
|
Loading…
Reference in New Issue
Block a user