20 lines
283 B
Lua
20 lines
283 B
Lua
local M = {}
|
|
|
|
function M.get(C)
|
|
local theme = {
|
|
["@comment"] = { fg = C.muted, italic = true },
|
|
}
|
|
|
|
for _, hl in ipairs(vim.fn.getcompletion("@", "highlight")) do
|
|
if theme[hl] == nil then
|
|
theme[hl] = { fg = C.syntax }
|
|
end
|
|
end
|
|
|
|
return theme
|
|
end
|
|
|
|
return M
|
|
|
|
|