Skip to content

Commit 4415d55

Browse files
committed
Fixed an error in redraw when executing copen or lopen.
Ref: vim/vim#1839
1 parent 10b6f79 commit 4415d55

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

autoload/ruby_hl_lvar.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ let s:exist_matchaddpos = exists('*matchaddpos')
88

99
function! ruby_hl_lvar#redraw() abort
1010
let curwinnr=winnr()
11+
12+
if getwinvar(curwinnr, "&filetype") ==# "qf"
13+
return
14+
endif
1115
let prevwinnr=winnr('#')
1216

1317
let nr = 1

0 commit comments

Comments
 (0)