create setup_colorscheme in vimscript
This commit is contained in:
@@ -1,11 +1 @@
|
||||
if exists('g:colors_name')
|
||||
highlight clear
|
||||
endif
|
||||
|
||||
let g:colors_name = 'zenbones'
|
||||
|
||||
if has('nvim') && (!exists('g:' . g:colors_name . '_compat') || g:{g:colors_name}_compat == 0)
|
||||
lua require("zenbones.util").apply_colorscheme()
|
||||
else
|
||||
call {g:colors_name . '_' . &background}#load()
|
||||
endif
|
||||
call zenbones#util#setup_colorscheme('zenbones')
|
||||
|
||||
Reference in New Issue
Block a user