Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Always clear previously overlayed highlighting

  • Loading branch information...
commit 62942b011979937fba84ea4795f7a5c593323f31 1 parent ce4fd06
Peter Odding authored August 18, 2010

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  autoload.vim
3  autoload.vim
... ...
@@ -1,6 +1,6 @@
1 1
 " Vim script.
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: August 16, 2010
  3
+" Last Change: August 18, 2010
4 4
 " URL: http://peterodding.com/code/vim/lua-inspect/
5 5
 " License: MIT
6 6
 
@@ -167,6 +167,7 @@ endfunction
167 167
 
168 168
 function! s:clear_previous_matches() " {{{1
169 169
   " Clear existing highlighting.
  170
+  call clearmatches()
170 171
   for group in keys(s:groups)
171 172
     let group = 'luaInspect' . group
172 173
     if hlexists(group)

0 notes on commit 62942b0

Please sign in to comment.
Something went wrong with that request. Please try again.