mirror of
https://github.com/gko/vim-coloresque.git
synced 2026-11-07 12:45:59 +08:00
fix b:color_pattern not found error
This commit is contained in:
1 parent
0c21b14699
commit
fd19862a67
1 file changed
+6
@@ -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