neovim light theme working 1

This commit is contained in:
2025-09-26 00:52:00 +00:00
parent 23309c9a12
commit 14eac65897
12 changed files with 371 additions and 270 deletions

View File

@@ -1,9 +1,36 @@
local M = {}
-- fallback for vim without tree-sitter
function M.get(C)
return {}
return {
Comment = { fg = C.muted, italic = true },
-- general
Constant = { fg = C.syntax },
String = { fg = C.syntax },
Function = { fg = C.syntax },
Type = { fg = C.syntax },
Statement = { fg = C.syntax },
Identifier = { fg = C.syntax },
Operator = { fg = C.syntax },
PreProc = { fg = C.syntax },
Special = { fg = C.syntax },
Delimiter = { fg = C.syntax },
Todo = { fg = C.syntax },
Title = { fg = C.syntax },
Underlined = { fg = C.syntax },
-- diffs
Added = { fg = C.green },
Removed = { fg = C.red },
Changed = { fg = C.yellow },
-- diagnostics
DiagnosticInfo = { fg = C.blue },
DiagnosticWarn = { fg = C.yellow },
DiagnosticError = { fg = C.red },
DiagnosticDeprecated = { fg = C.magenta },
DiagnosticUnderlineError = { fg = C.syntax, underline = true },
}
end
return M