Permalink
Browse files

update colorizer.vim

  • Loading branch information...
1 parent b4449ec commit 29bcfa77ed65a837eca8ca4cf2f06ffe63aaa078 @lilydjwg committed Oct 26, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 plugin/colorizer.vim
View
@@ -321,9 +321,11 @@ function s:ColorClear() "{{{2
augroup Colorizer
au!
augroup END
- let savepos = tabpagenr()
+ let save_tab = tabpagenr()
+ let save_win = winnr()
tabdo windo call s:ClearMatches()
- exe 'tabn '.savepos
+ exe 'tabn '.save_tab
+ exe save_win . 'wincmd w'
endfunction
function s:ClearMatches() "{{{2
if !exists('w:colormatches')

0 comments on commit 29bcfa7

Please sign in to comment.