From 1ca831d29dd52dc37a8e220dbff45e8f49b55fd9 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Thu, 27 Apr 2017 12:08:18 +0000 Subject: [PATCH] Support using migemo and smartsign feature at the same time --- autoload/EasyMotion.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index 9dca495..df39bf2 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -574,7 +574,12 @@ function! s:convertRegep(input) "{{{ endif if s:should_use_smartsign(a:input) - let re = s:convertSmartsign(a:input) + let r = s:convertSmartsign(a:input) + if use_migemo + let re = re . '\m\|' . r + else + let re = r + endif endif let case_flag = EasyMotion#helper#should_case_sensitive(