mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 20:54:28 +08:00
Fix :Maps when :verbose map does not have a 2nd line with comments (#1067)
This commit is contained in:
@@ -1234,6 +1234,9 @@ function! fzf#vim#maps(mode, ...)
|
||||
call add(list, printf('%s %s', curr, s:green(src, 'Comment')))
|
||||
let curr = ''
|
||||
else
|
||||
if !empty(curr)
|
||||
call add(list, curr)
|
||||
endif
|
||||
let curr = line[3:]
|
||||
endif
|
||||
endfor
|
||||
|
||||
Reference in New Issue
Block a user