Permalink
Browse files

Changed events this plugin listens to, making it much faster, and by …

…this, less laggy.
  • Loading branch information...
KrzysztofUrban
KrzysztofUrban committed May 17, 2011
1 parent 47c4ceb commit c63b4dacfb7a7384a8a8b6a88aa9217b31b73ff5
Showing with 2 additions and 2 deletions.
  1. +2 −2 after/syntax/css.vim
View
@@ -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 c63b4da

Please sign in to comment.