File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
autoload/vital/_easymotion/HitAHint Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,11 @@ function! s:Hinter.modify_env_for_win(winnr) abort
359359 endif
360360 let self .highlight_ids[a: winnr ] += [matchadd (self .config.highlight .shade, ' \_.*' , 100 )]
361361 endif
362+
363+ " XXX: other plugins specific handling
364+ if getbufvar (' %' , ' indentLine_enabled' , 0 )
365+ silent ! syntax clear IndentLine
366+ endif
362367endfunction
363368
364369function ! s: Hinter .restore_env () abort
@@ -379,6 +384,12 @@ function! s:Hinter.restore_env() abort
379384 for id in self .highlight_ids[winnr ]
380385 call matchdelete (id)
381386 endfor
387+
388+ " XXX: other plugins specific handling
389+ if getbufvar (' %' , ' indentLine_enabled' , 0 ) && exists (' :IndentLinesEnable' ) is # 2
390+ call setbufvar (' %' , ' indentLine_enabled' , 0 )
391+ :IndentLinesEnable
392+ endif
382393 endfor
383394 catch
384395 call s: throw (v: throwpoint . ' ' . v: exception )
You can’t perform that action at this time.
0 commit comments