From c63b4dacfb7a7384a8a8b6a88aa9217b31b73ff5 Mon Sep 17 00:00:00 2001 From: KrzysztofUrban Date: Tue, 17 May 2011 02:24:16 -0700 Subject: [PATCH] Changed events this plugin listens to, making it much faster, and by this, less laggy. --- after/syntax/css.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css.vim b/after/syntax/css.vim index 3f5d83c..9942a94 100644 --- a/after/syntax/css.vim +++ b/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