Permalink
Browse files

Added an option to avoid resetting udatetime

  • Loading branch information...
skammer committed Nov 5, 2010
1 parent 175172e commit 2cded2ff912824d0e18f5114cca43a078b198d92
Showing with 15 additions and 1 deletion.
  1. +10 −0 README.md
  2. +5 −1 after/syntax/css.vim
View
@@ -10,6 +10,16 @@ So here is my patch.
![Screen shot](http://github.com/skammer/vim-css-color/raw/master/Screen%20shot%202010-07-04%20at%200.19.46.png)
+Configuration
+-------------
+
+`g:cssColorVimDoNotMessMyUpdatetime` is used when updatetime value set by plugin (100ms) is interfering with your confiduration.
+
+`let g:cssColorVimDoNotMessMyUpdatetime = 1`
+
+Post Scriptum
+-------------
+
Major kudos to [rainbow-mode.el](http://julien.danjou.info/rainbow-mode.html), from which I borrowed some code, and to [ConvertBase.vim](http://www.vim.org/scripts/script.php?script_id=54) plugin I used for base conversion.
I highly recomend using [pathogen.vim](http://www.vim.org/scripts/script.php?script_id=2332) plugin for all your plugin installations. It's so good, it should be illegal. God bless Tim Pope.
View
@@ -390,4 +390,8 @@ if has("gui_running") || &t_Co==256
autocmd CursorHold * silent call s:PreviewCSSColorInLine('.')
autocmd CursorHoldI * silent call s:PreviewCSSColorInLine('.')
-endif " has("gui_running")
+ if !exists('g:cssColorVimDoNotMessMyUpdatetime')
+ set ut=100
+ endif
+
+endif

0 comments on commit 2cded2f

Please sign in to comment.