diff --git a/colors/zenbones-lush.lua b/colors/zenbones-lush.lua new file mode 100644 index 0000000..640fc65 --- /dev/null +++ b/colors/zenbones-lush.lua @@ -0,0 +1,21 @@ +vim.opt.background = "light" +vim.g.colors_name = "zenbones-lush" + +require("zenbones.terminal").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"] = nil + +-- include our theme file and pass it to lush to apply +require "lush"(require "zenbones") diff --git a/colors/zenbones-lush.vim b/colors/zenbones-lush.vim deleted file mode 100644 index 715a569..0000000 --- a/colors/zenbones-lush.vim +++ /dev/null @@ -1,22 +0,0 @@ -" You probably always want to set this in your vim file -set background=light -let g:colors_name="zenbones-lush" - -lua require('zenbones.terminal').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". -lua package.loaded['zenbones'] = nil - -" include our theme file and pass it to lush to apply -lua require('lush')(require('zenbones'))