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

@@ -24,11 +24,7 @@ let g:terminal_color_13 = '#CF86C1'
let g:terminal_color_14 = '#65B8C1'
let g:terminal_color_15 = '#888F94'
if !exists('g:zenbones_compat')
let g:zenbones_compat = !has('nvim')
endif
if g:zenbones_compat == 0
let g:colors_name = 'zenflesh'
if has('nvim') && (!exists('g:zenbones_compat') || g:zenbones_compat == 0)
lua package.loaded["zenflesh"] = nil
lua require "lush"(require "zenflesh", { force_clean = false })
finish