set compat to 1 if vim

This commit is contained in:
Michael Chris Lopez
2021-10-09 19:26:38 +08:00
parent 7f919fd6a3
commit 5962128126
3 changed files with 15 additions and 3 deletions

View File

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