This commit is contained in:
2025-09-25 11:39:11 +03:00
parent dd738ade40
commit 23309c9a12
5 changed files with 30 additions and 20 deletions

View File

@@ -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 },
}

View File

@@ -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

View File

@@ -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.