breaking: remove -lush variants replaced with compat
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
vim.opt.background = "light"
|
|
||||||
vim.g.colors_name = "zenbones-lush"
|
|
||||||
|
|
||||||
require("zenbones.term").setup()
|
|
||||||
|
|
||||||
-- By setting our module to nil, we clear lua's cache,
|
|
||||||
-- which means the require ahead will *always* occur.
|
|
||||||
--
|
|
||||||
-- This isn't strictly required but it can be a useful trick if you are
|
|
||||||
-- incrementally editing your config a lot and want to be sure your themes
|
|
||||||
-- changes are being picked up without restarting neovim.
|
|
||||||
--
|
|
||||||
-- Note if you're working in on your theme and have :Lushify'd the buffer,
|
|
||||||
-- your changes will be applied with our without the following line.
|
|
||||||
--
|
|
||||||
-- The performance impact of this call can be measured in the hundreds of
|
|
||||||
-- *nanoseconds* and such could be considered "production safe".
|
|
||||||
package.loaded["zenbones.palette"] = nil
|
|
||||||
package.loaded["zenbones"] = nil
|
|
||||||
|
|
||||||
-- include our theme file and pass it to lush to apply
|
|
||||||
require "lush"(require "zenbones")
|
|
||||||
@@ -5,7 +5,6 @@ if exists('g:colors_name')
|
|||||||
set t_Co=256
|
set t_Co=256
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set background=light
|
|
||||||
let g:colors_name = 'zenbones'
|
let g:colors_name = 'zenbones'
|
||||||
|
|
||||||
let g:terminal_color_0 = '#F0EDEC'
|
let g:terminal_color_0 = '#F0EDEC'
|
||||||
@@ -25,27 +24,12 @@ let g:terminal_color_13 = '#7B3B70'
|
|||||||
let g:terminal_color_14 = '#2B747C'
|
let g:terminal_color_14 = '#2B747C'
|
||||||
let g:terminal_color_15 = '#4F5E68'
|
let g:terminal_color_15 = '#4F5E68'
|
||||||
|
|
||||||
if has('terminal')
|
if get(g:, "zenbones_compat") != v:true
|
||||||
let g:terminal_ansi_colors = [
|
let g:colors_name = 'zenbones'
|
||||||
\ g:terminal_color_0,
|
lua package.loaded["zenbones"] = nil
|
||||||
\ g:terminal_color_1,
|
lua require "lush"(require "zenbones", { force_clean = false })
|
||||||
\ g:terminal_color_2,
|
finish
|
||||||
\ g:terminal_color_3,
|
else
|
||||||
\ g:terminal_color_4,
|
|
||||||
\ g:terminal_color_5,
|
|
||||||
\ g:terminal_color_6,
|
|
||||||
\ g:terminal_color_7,
|
|
||||||
\ g:terminal_color_8,
|
|
||||||
\ g:terminal_color_9,
|
|
||||||
\ g:terminal_color_10,
|
|
||||||
\ g:terminal_color_11,
|
|
||||||
\ g:terminal_color_12,
|
|
||||||
\ g:terminal_color_13,
|
|
||||||
\ g:terminal_color_14,
|
|
||||||
\ g:terminal_color_15
|
|
||||||
\ ]
|
|
||||||
endif
|
|
||||||
|
|
||||||
highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold
|
highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold
|
||||||
highlight BufferVisible guifg=#596A76 guibg=NONE guisp=NONE gui=NONE
|
highlight BufferVisible guifg=#596A76 guibg=NONE guisp=NONE gui=NONE
|
||||||
highlight BufferVisibleIndex guifg=#596A76 guibg=NONE guisp=NONE gui=NONE
|
highlight BufferVisibleIndex guifg=#596A76 guibg=NONE guisp=NONE gui=NONE
|
||||||
@@ -238,3 +222,25 @@ highlight! link markdownH4 Special
|
|||||||
highlight! link markdownH5 Special
|
highlight! link markdownH5 Special
|
||||||
highlight! link markdownH6 Special
|
highlight! link markdownH6 Special
|
||||||
highlight! link markdownLinkTextDelimiter Delimiter
|
highlight! link markdownLinkTextDelimiter Delimiter
|
||||||
|
endif
|
||||||
|
|
||||||
|
if has('terminal')
|
||||||
|
let g:terminal_ansi_colors = [
|
||||||
|
\ g:terminal_color_0,
|
||||||
|
\ g:terminal_color_1,
|
||||||
|
\ g:terminal_color_2,
|
||||||
|
\ g:terminal_color_3,
|
||||||
|
\ g:terminal_color_4,
|
||||||
|
\ g:terminal_color_5,
|
||||||
|
\ g:terminal_color_6,
|
||||||
|
\ g:terminal_color_7,
|
||||||
|
\ g:terminal_color_8,
|
||||||
|
\ g:terminal_color_9,
|
||||||
|
\ g:terminal_color_10,
|
||||||
|
\ g:terminal_color_11,
|
||||||
|
\ g:terminal_color_12,
|
||||||
|
\ g:terminal_color_13,
|
||||||
|
\ g:terminal_color_14,
|
||||||
|
\ g:terminal_color_15
|
||||||
|
\ ]
|
||||||
|
endif
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
vim.opt.background = "dark"
|
|
||||||
vim.g.colors_name = "zenflesh-lush"
|
|
||||||
|
|
||||||
require("zenflesh.term").setup()
|
|
||||||
|
|
||||||
-- By setting our module to nil, we clear lua's cache,
|
|
||||||
-- which means the require ahead will *always* occur.
|
|
||||||
--
|
|
||||||
-- This isn't strictly required but it can be a useful trick if you are
|
|
||||||
-- incrementally editing your config a lot and want to be sure your themes
|
|
||||||
-- changes are being picked up without restarting neovim.
|
|
||||||
--
|
|
||||||
-- Note if you're working in on your theme and have :Lushify'd the buffer,
|
|
||||||
-- your changes will be applied with our without the following line.
|
|
||||||
--
|
|
||||||
-- The performance impact of this call can be measured in the hundreds of
|
|
||||||
-- *nanoseconds* and such could be considered "production safe".
|
|
||||||
package.loaded["zenflesh.palette"] = nil
|
|
||||||
package.loaded["zenflesh"] = nil
|
|
||||||
|
|
||||||
-- include our theme file and pass it to lush to apply
|
|
||||||
require "lush"(require "zenflesh")
|
|
||||||
@@ -5,7 +5,6 @@ if exists('g:colors_name')
|
|||||||
set t_Co=256
|
set t_Co=256
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set background=dark
|
|
||||||
let g:colors_name = 'zenflesh'
|
let g:colors_name = 'zenflesh'
|
||||||
|
|
||||||
let g:terminal_color_0 = '#1C1918'
|
let g:terminal_color_0 = '#1C1918'
|
||||||
@@ -25,27 +24,12 @@ let g:terminal_color_13 = '#CF86C1'
|
|||||||
let g:terminal_color_14 = '#65B8C1'
|
let g:terminal_color_14 = '#65B8C1'
|
||||||
let g:terminal_color_15 = '#888F94'
|
let g:terminal_color_15 = '#888F94'
|
||||||
|
|
||||||
if has('terminal')
|
if get(g:, "zenbones_compat") != v:true
|
||||||
let g:terminal_ansi_colors = [
|
let g:colors_name = 'zenflesh'
|
||||||
\ g:terminal_color_0,
|
lua package.loaded["zenflesh"] = nil
|
||||||
\ g:terminal_color_1,
|
lua require "lush"(require "zenflesh", { force_clean = false })
|
||||||
\ g:terminal_color_2,
|
finish
|
||||||
\ g:terminal_color_3,
|
else
|
||||||
\ g:terminal_color_4,
|
|
||||||
\ g:terminal_color_5,
|
|
||||||
\ g:terminal_color_6,
|
|
||||||
\ g:terminal_color_7,
|
|
||||||
\ g:terminal_color_8,
|
|
||||||
\ g:terminal_color_9,
|
|
||||||
\ g:terminal_color_10,
|
|
||||||
\ g:terminal_color_11,
|
|
||||||
\ g:terminal_color_12,
|
|
||||||
\ g:terminal_color_13,
|
|
||||||
\ g:terminal_color_14,
|
|
||||||
\ g:terminal_color_15
|
|
||||||
\ ]
|
|
||||||
endif
|
|
||||||
|
|
||||||
highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold
|
highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold
|
||||||
highlight BufferVisible guifg=#CAD0D4 guibg=NONE guisp=NONE gui=NONE
|
highlight BufferVisible guifg=#CAD0D4 guibg=NONE guisp=NONE gui=NONE
|
||||||
highlight BufferVisibleIndex guifg=#CAD0D4 guibg=NONE guisp=NONE gui=NONE
|
highlight BufferVisibleIndex guifg=#CAD0D4 guibg=NONE guisp=NONE gui=NONE
|
||||||
@@ -238,3 +222,25 @@ highlight! link markdownH4 Special
|
|||||||
highlight! link markdownH5 Special
|
highlight! link markdownH5 Special
|
||||||
highlight! link markdownH6 Special
|
highlight! link markdownH6 Special
|
||||||
highlight! link markdownLinkTextDelimiter Delimiter
|
highlight! link markdownLinkTextDelimiter Delimiter
|
||||||
|
endif
|
||||||
|
|
||||||
|
if has('terminal')
|
||||||
|
let g:terminal_ansi_colors = [
|
||||||
|
\ g:terminal_color_0,
|
||||||
|
\ g:terminal_color_1,
|
||||||
|
\ g:terminal_color_2,
|
||||||
|
\ g:terminal_color_3,
|
||||||
|
\ g:terminal_color_4,
|
||||||
|
\ g:terminal_color_5,
|
||||||
|
\ g:terminal_color_6,
|
||||||
|
\ g:terminal_color_7,
|
||||||
|
\ g:terminal_color_8,
|
||||||
|
\ g:terminal_color_9,
|
||||||
|
\ g:terminal_color_10,
|
||||||
|
\ g:terminal_color_11,
|
||||||
|
\ g:terminal_color_12,
|
||||||
|
\ g:terminal_color_13,
|
||||||
|
\ g:terminal_color_14,
|
||||||
|
\ g:terminal_color_15
|
||||||
|
\ ]
|
||||||
|
endif
|
||||||
|
|||||||
@@ -5,10 +5,18 @@ if exists('g:colors_name')
|
|||||||
set t_Co=256
|
set t_Co=256
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set background=${background}
|
|
||||||
let g:colors_name = '${name}'
|
let g:colors_name = '${name}'
|
||||||
|
|
||||||
${termcolors}
|
${termcolors}
|
||||||
|
if get(g:, "zenbones_compat") != v:true
|
||||||
|
let g:colors_name = '${name}'
|
||||||
|
lua package.loaded["${specs_path}"] = nil
|
||||||
|
lua require "lush"(require "${specs_path}", { force_clean = false })
|
||||||
|
finish
|
||||||
|
else
|
||||||
|
${vimcolors}
|
||||||
|
endif
|
||||||
|
|
||||||
if has('terminal')
|
if has('terminal')
|
||||||
let g:terminal_ansi_colors = [
|
let g:terminal_ansi_colors = [
|
||||||
\ g:terminal_color_0,
|
\ g:terminal_color_0,
|
||||||
@@ -29,8 +37,6 @@ if has('terminal')
|
|||||||
\ g:terminal_color_15
|
\ g:terminal_color_15
|
||||||
\ ]
|
\ ]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
${vimcolors}
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local lush = require "lush"
|
local lush = require "lush"
|
||||||
@@ -47,8 +53,8 @@ return function(name, theme, palette, term)
|
|||||||
string.format("colors/%s.vim", name),
|
string.format("colors/%s.vim", name),
|
||||||
template,
|
template,
|
||||||
{
|
{
|
||||||
background = name == "zenbones" and "light" or "dark",
|
|
||||||
name = name,
|
name = name,
|
||||||
|
specs_path = name,
|
||||||
termcolors = termcolors,
|
termcolors = termcolors,
|
||||||
vimcolors = vimcolors,
|
vimcolors = vimcolors,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user