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
359
359
endif
360
360
let self .highlight_ids[a: winnr ] += [matchadd (self .config.highlight .shade, ' \_.*' , 100 )]
361
361
endif
362
+
363
+ " XXX: other plugins specific handling
364
+ if getbufvar (' %' , ' indentLine_enabled' , 0 )
365
+ silent ! syntax clear IndentLine
366
+ endif
362
367
endfunction
363
368
364
369
function ! s: Hinter .restore_env () abort
@@ -379,6 +384,12 @@ function! s:Hinter.restore_env() abort
379
384
for id in self .highlight_ids[winnr ]
380
385
call matchdelete (id)
381
386
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
382
393
endfor
383
394
catch
384
395
call s: throw (v: throwpoint . ' ' . v: exception )
You can’t perform that action at this time.
0 commit comments