Oops: fix condition

This commit is contained in:
haya14busa 2014-02-19 00:46:36 +09:00
parent 355293df2c
commit 7155f227ef

View File

@ -3,7 +3,7 @@
" Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com> " Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
" haya14busa <hayabusa1419@gmail.com> " haya14busa <hayabusa1419@gmail.com>
" Source: https://github.com/Lokaltog/vim-easymotion " Source: https://github.com/Lokaltog/vim-easymotion
" Last Change: 18 Feb 2014. " Last Change: 19 Feb 2014.
"============================================================================= "=============================================================================
" Saving 'cpoptions' {{{ " Saving 'cpoptions' {{{
scriptencoding utf-8 scriptencoding utf-8
@ -924,7 +924,7 @@ function! s:PromptUser(groups) "{{{
call EasyMotion#highlight#add_highlight( call EasyMotion#highlight#add_highlight(
\ '\%' . line_num . 'l\%' . col_num . 'c', \ '\%' . line_num . 'l\%' . col_num . 'c',
\ g:EasyMotion_hl2_first_group_target) \ g:EasyMotion_hl2_first_group_target)
if g:EasyMotion_disable_two_key_combo == 1 if g:EasyMotion_disable_two_key_combo != 1
call EasyMotion#highlight#add_highlight( call EasyMotion#highlight#add_highlight(
\ '\%' . line_num . 'l\%' . (col_num + 1) . 'c', \ '\%' . line_num . 'l\%' . (col_num + 1) . 'c',
\ g:EasyMotion_hl2_second_group_target) \ g:EasyMotion_hl2_second_group_target)