mirror of
https://github.com/gko/vim-coloresque.git
synced 2025-12-07 13:24:37 +08:00
fix b:color_pattern not found error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user