feat: add static colors for Coq

This commit is contained in:
David JULIEN 2021-10-29 22:56:36 +02:00
parent c329ff44d3
commit d77e1cfe12

View File

@ -8,6 +8,11 @@
local M = {} local M = {}
local g = vim.g local g = vim.g
local static = {
coq_checked ="#36704f",
coq_sent ="#4b4b4b",
}
-- Load terminal colors -- Load terminal colors
--@param tab table: scheme colors to apply --@param tab table: scheme colors to apply
local function terminal_colors(tab) local function terminal_colors(tab)
@ -199,8 +204,8 @@ function M.load_colors(scheme)
---------------- ----------------
-- COQ COLORS -- -- COQ COLORS --
---------------- ----------------
CoqtailChecked = { fg = scheme.none, bg = scheme.darkgreen, scheme.none }, CoqtailChecked = { fg = scheme.none, bg = static.coq_checked, scheme.none },
CoqtailSent = { fg = scheme.none, bg = scheme.darkgrey, scheme.none }, CoqtailSent = { fg = scheme.none, bg = static.coq_sent, scheme.none },
} }
terminal_colors(scheme) terminal_colors(scheme)