Skip to content
This repository
Browse code

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...
commit 417eaf8a20a6208e34ff167f5636b20f8f812ed8 2 parents 1de5e78 + c63b4da
Max Vasiliev authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  after/syntax/css.vim
4  after/syntax/css.vim
@@ -388,8 +388,8 @@ if has("gui_running") || &t_Co==256
388 388
   endwhile
389 389
   unlet i
390 390
 
391  
-  autocmd CursorHold * silent call s:PreviewCSSColorInLine('.')
392  
-  autocmd CursorHoldI * silent call s:PreviewCSSColorInLine('.')
  391
+  autocmd CursorMoved * silent call s:PreviewCSSColorInLine('.')
  392
+  autocmd CursorMovedI * silent call s:PreviewCSSColorInLine('.')
393 393
   if !exists('g:cssColorVimDoNotMessMyUpdatetime')
394 394
     set ut=100
395 395
   endif

0 notes on commit 417eaf8

Please sign in to comment.
Something went wrong with that request. Please try again.