We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68cf912 + 159df7c commit 924949cCopy full SHA for 924949c
plugin/follow-my-lead.vim
@@ -65,7 +65,7 @@ function! FMLAddDescription(src, mappings)
65
let lines_with_index = map(deepcopy(src_lines), '[v:key, v:val]')
66
let comments_by_id = {}
67
for [idx, line] in lines_with_index
68
- let lhs = matchlist(line, '\c\m^\(\a*\)map.*<leader>\(\S\+\)')
+ let lhs = matchlist(line, '\c\m^\(\a\?\)\a*map.*<leader>\(\S\+\)')
69
if(!empty(lhs))
70
let prev_line = src_lines[idx - 1]
71
let comment = matchlist(prev_line, '^"\s*\(.*\)')
0 commit comments