Browse files

Merge pull request #5 from KrzysztofUrban/master

Changed events this plugin listens to, making it much faster, and by this, less laggy.
  • Loading branch information...
2 parents 1de5e78 + c63b4da commit 417eaf8a20a6208e34ff167f5636b20f8f812ed8 @skammer committed May 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 after/syntax/css.vim
View
4 after/syntax/css.vim
@@ -388,8 +388,8 @@ if has("gui_running") || &t_Co==256
endwhile
unlet i
- autocmd CursorHold * silent call s:PreviewCSSColorInLine('.')
- autocmd CursorHoldI * silent call s:PreviewCSSColorInLine('.')
+ autocmd CursorMoved * silent call s:PreviewCSSColorInLine('.')
+ autocmd CursorMovedI * silent call s:PreviewCSSColorInLine('.')
if !exists('g:cssColorVimDoNotMessMyUpdatetime')
set ut=100
endif

0 comments on commit 417eaf8

Please sign in to comment.