nvim
This commit is contained in:
@@ -3,8 +3,7 @@ local M = {}
|
||||
function M.get(C)
|
||||
return {
|
||||
-- TelescopeBorder = { fg = C.muted, bg = C.green },
|
||||
-- TelescopeNormal = { fg = C.text, bg = C.base, ctermbg = 1 },
|
||||
TelescopePrompt = { fg = C.text, bg = C.base, ctermbg = 1 },
|
||||
TelescopePrompt = { fg = C.text, bg = C.green },
|
||||
-- TelescopePromptPrefix = { fg = C.accent, bg = C.red },
|
||||
-- TelescopeSelection = { bg = C.surface },
|
||||
}
|
||||
|
||||
@@ -3,6 +3,11 @@ local M = {}
|
||||
function M.get(C)
|
||||
local theme = {
|
||||
["@comment"] = { fg = C.muted, italic = true },
|
||||
["@spell"] = { fg = C.syntax },
|
||||
["@markup"] = { fg = C.syntax },
|
||||
["@text"] = { fg = C.syntax },
|
||||
["@property"] = { fg = C.syntax },
|
||||
["@conceal"] = { fg = C.syntax },
|
||||
}
|
||||
|
||||
for _, hl in ipairs(vim.fn.getcompletion("@", "highlight")) do
|
||||
|
||||
@@ -63,8 +63,10 @@ function M.apply(theme)
|
||||
|
||||
for k, v in pairs(opts) do
|
||||
if k == "fg" then
|
||||
hl.fg = v
|
||||
hl.ctermfg = v
|
||||
elseif k == "bg" then
|
||||
hl.bg = v
|
||||
hl.ctermbg = v
|
||||
else
|
||||
hl[k] = v -- bold, italic, underline, sp, etc.
|
||||
|
||||
Reference in New Issue
Block a user