Fix undefined variables

close #201
This commit is contained in:
haya14busa 2014-12-04 17:32:49 +09:00
parent 55de0be306
commit 09b0d7b944
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ function! EasyMotion#cmigemo#getMigemoPattern(input) "{{{
return EasyMotion#cmigemo#system('cmigemo -v -w "'.a:input.'" -d "'.s:migemodict.'"')
else
" Not supported
return input
return a:input
endif
endfunction "}}}

View File

@ -152,7 +152,7 @@ if exists('*strchars')
endfunction
else
function! EasyMotion#helper#strchars(str)
return strlen(substitute(str, ".", "x", "g"))
return strlen(substitute(a:str, ".", "x", "g"))
endfunction
endif "}}}
function! EasyMotion#helper#include_multibyte_char(str) "{{{