simplify compat check

This commit is contained in:
Michael Chris Lopez
2021-10-10 19:26:05 +08:00
parent 8d985a9bbc
commit 5722bc09c0
3 changed files with 3 additions and 15 deletions

View File

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