mirror of
https://github.com/BourgeoisBear/clrzr.git
synced 2026-09-10 07:16:27 -04:00
parent
e0bdb79615
commit
3bd0d5e8c1
|
|
@ -328,7 +328,11 @@ function! s:ClearMatches() "{{{1
|
|||
return
|
||||
endif
|
||||
for i in values(w:colormatches)
|
||||
call matchdelete(i)
|
||||
try
|
||||
call matchdelete(i)
|
||||
catch /.*/
|
||||
" matches have been cleared in other ways, e.g. user has called clearmatches()
|
||||
endtry
|
||||
endfor
|
||||
unlet w:colormatches
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Reference in a new issue