Skip to content

Commit

Permalink
Merge pull request #194 from liuchengxu/fix_dot_mapping_delay
Browse files Browse the repository at this point in the history
Fix "." mapping delay
  • Loading branch information
BrotifyPacha authored May 4, 2021
2 parents 20163f6 + f582079 commit da2934f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autoload/which_key.vim
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ function! s:has_children(input) abort
let group = map(keys(s:runtime), 'v:val =~# "^\'.a:input.'"')
elseif a:input ==# '"'
let group = map(keys(s:runtime), "v:val =~# '^".a:input."'")
elseif a:input == '.'
let group = map(keys(s:runtime), "v:val =~# '^\\.'")
else
let group = map(keys(s:runtime), 'v:val =~# "^'.a:input.'"')
endif
Expand Down

0 comments on commit da2934f

Please sign in to comment.