Skip to content

Commit 417eaf8

Browse files
committed
Merge pull request skammer#5 from KrzysztofUrban/master
Changed events this plugin listens to, making it much faster, and by this, less laggy.
2 parents 1de5e78 + c63b4da commit 417eaf8

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)