feat(build)!: use color name for _compat config

This commit is contained in:
Michael Chris Lopez
2021-10-31 14:48:19 +08:00
parent 0ae1fded2c
commit 111ed8ff64
2 changed files with 16 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ set background=${background}
let g:colors_name = '${name}'
${termcolors}
if has('nvim') && (!exists('g:zenbones_compat') || g:zenbones_compat == 0)
if has('nvim') && (!exists('g:${name}_compat') || g:${name}_compat == 0)
lua package.loaded["${specs_path}"] = nil
lua require "lush"(require "${specs_path}", { force_clean = false })
finish