Skip to content

Commit c63b4da

Browse files
author
KrzysztofUrban
committed
Changed events this plugin listens to, making it much faster, and by this, less laggy.
1 parent 47c4ceb commit c63b4da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

after/syntax/css.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ if has("gui_running") || &t_Co==256
388388
endwhile
389389
unlet i
390390

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('.')
393393
if !exists('g:cssColorVimDoNotMessMyUpdatetime')
394394
set ut=100
395395
endif

0 commit comments

Comments
 (0)