Skip to content

Commit 1ca831d

Browse files
committed
Support using migemo and smartsign feature at the same time
1 parent 450f145 commit 1ca831d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

autoload/EasyMotion.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,12 @@ function! s:convertRegep(input) "{{{
574574
endif
575575

576576
if s:should_use_smartsign(a:input)
577-
let re = s:convertSmartsign(a:input)
577+
let r = s:convertSmartsign(a:input)
578+
if use_migemo
579+
let re = re . '\m\|' . r
580+
else
581+
let re = r
582+
endif
578583
endif
579584

580585
let case_flag = EasyMotion#helper#should_case_sensitive(

0 commit comments

Comments
 (0)