separate file for palette and terminal
This commit is contained in:
33
lua/zenflesh/terminal.lua
Normal file
33
lua/zenflesh/terminal.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
local lush = require "lush"
|
||||
local c = require "zenflesh.palette"
|
||||
|
||||
local colors = {
|
||||
c.stone,
|
||||
c.rose,
|
||||
c.leaf,
|
||||
c.wood,
|
||||
c.water,
|
||||
c.blossom,
|
||||
c.sky,
|
||||
c.sand,
|
||||
c.stone.da(16),
|
||||
c.rose.sa(20).li(10),
|
||||
c.leaf.sa(20).li(10),
|
||||
c.wood.sa(18).li(10),
|
||||
c.water.sa(20).li(10),
|
||||
c.blossom.sa(24).li(10),
|
||||
c.sky.sa(20).li(10),
|
||||
c.sand.sa(4).li(10),
|
||||
}
|
||||
|
||||
local M = {}
|
||||
|
||||
M.colors = colors
|
||||
|
||||
function M.setup()
|
||||
for i, v in ipairs(colors) do
|
||||
vim.g["terminal_color_" .. (i - 1)] = v.hex
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user