diff --git a/autoload/EasyMotion/command_line.vim b/autoload/EasyMotion/command_line.vim index 655ee56..5c8824d 100644 --- a/autoload/EasyMotion/command_line.vim +++ b/autoload/EasyMotion/command_line.vim @@ -2,7 +2,7 @@ " FILE: autoload/EasyMotion/command_line.vim " AUTHOR: haya14busa " Reference: https://github.com/osyo-manga/vim-over -" Last Change: 04 Feb 2014. +" Last Change: 05 Feb 2014. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -90,8 +90,10 @@ endfunction "}}} function! s:search.on_enter() "{{{ if s:num_strokes == -1 call EasyMotion#highlight#delete_highlight() - call EasyMotion#highlight#add_highlight('\_.*', - \ g:EasyMotion_hl_group_shade) + if g:EasyMotion_do_shade + call EasyMotion#highlight#add_highlight('\_.*', + \ g:EasyMotion_hl_group_shade) + endif call EasyMotion#highlight#add_highlight('\%#', \ g:EasyMotion_hl_inc_cursor) endif