Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions autoload/flake8.vim
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,15 @@ function! s:UnplaceMarkers() " {{{
unlet s:signids
endif
" file markers
for l:val in values(s:markerdata)
if has_key(l:val, 'matchid')
call matchdelete(l:val.matchid)
unlet l:val.matchid
unlet l:val.matchstr
endif
endfor
if exists('s:markerdata')
for l:val in values(s:markerdata)
if has_key(l:val, 'matchid')
call matchdelete(l:val.matchid)
unlet l:val.matchid
unlet l:val.matchstr
endif
endfor
endif
endfunction " }}}

"" }}}
Expand Down