Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always clear previously overlayed highlighting

  • Loading branch information...
commit 62942b011979937fba84ea4795f7a5c593323f31 1 parent ce4fd06
@xolox authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  autoload.vim
View
3  autoload.vim
@@ -1,6 +1,6 @@
" Vim script.
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: August 16, 2010
+" Last Change: August 18, 2010
" URL: http://peterodding.com/code/vim/lua-inspect/
" License: MIT
@@ -167,6 +167,7 @@ endfunction
function! s:clear_previous_matches() " {{{1
" Clear existing highlighting.
+ call clearmatches()
for group in keys(s:groups)
let group = 'luaInspect' . group
if hlexists(group)
Please sign in to comment.
Something went wrong with that request. Please try again.