diff --git a/after/syntax/css/vim-coloresque.vim b/after/syntax/css/vim-coloresque.vim index c80a9a5..e02d60d 100644 --- a/after/syntax/css/vim-coloresque.vim +++ b/after/syntax/css/vim-coloresque.vim @@ -126,6 +126,12 @@ function! s:VimCssInit(update) :set isk+=# :set isk+=. + if !exists("b:color_pattern") + let b:color_pattern = {} + return + endif + + if len(keys(b:color_pattern))>0 call s:RestoreColors() return