liuchengxu / vim-which-key

:tulip: Vim plugin that shows keybindings in popup
https://liuchengxu.github.io/vim-which-key/
MIT License
1.93k stars 65 forks source link

Fix "." mapping delay #194

Closed BrotifyPacha closed 3 years ago

BrotifyPacha commented 3 years ago

Fixes #177 The delay is caused by a bug in s:has_children(input) function. Where if you would supply "." as the input, it wouldn't be escaped properly. And so it would be interpreted as "any" mapping. The fix is to add custom elseif for "." case.