dotfiles/config/linux-dev/nvim/lua/themes/invero/groups/integrations/tree-sitter.lua
2025-09-25 11:39:11 +03:00

25 lines
544 B
Lua

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
if theme[hl] == nil then
theme[hl] = { fg = C.syntax }
end
end
return theme
end
return M