|
|
|
@ -47,6 +47,12 @@ let s:yellow = { "gui": "#F3E430", "cterm": "11" }
|
|
|
|
|
let s:light_yellow = { "gui": "#ffff87", "cterm": "228" }
|
|
|
|
|
let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" }
|
|
|
|
|
|
|
|
|
|
" catppuccin color overrides (TODO: set these to get colors
|
|
|
|
|
" directly from the terminal instead of hardcoding them)
|
|
|
|
|
let s:medium_gray = { "gui": "#6e6c7c", "cterm": "243" }
|
|
|
|
|
let s:light_green = { "gui": "#abe9b3", "cterm": "10" }
|
|
|
|
|
let s:light_purple = { "gui": "#ddb6f2", "cterm": "140" }
|
|
|
|
|
|
|
|
|
|
let s:background = &background
|
|
|
|
|
|
|
|
|
|
if &background == "dark"
|
|
|
|
@ -97,7 +103,7 @@ if &background != s:background
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
call s:h("Cursor", {"bg": s:purple, "fg": s:norm })
|
|
|
|
|
call s:h("Comment", {"fg": s:bg_subtle, "gui": "italic"})
|
|
|
|
|
call s:h("Comment", {"fg": { "gui": "#656565", "cterm": "238" }, "gui": "italic"})
|
|
|
|
|
|
|
|
|
|
call s:h("Constant", {"fg": s:purple})
|
|
|
|
|
hi! link Character Constant
|
|
|
|
@ -156,7 +162,7 @@ call s:h("StatusLine", {"bg": s:bg_very_subtle})
|
|
|
|
|
call s:h("StatusLineNC", {"bg": s:bg_very_subtle, "fg": s:medium_gray})
|
|
|
|
|
call s:h("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle})
|
|
|
|
|
call s:h("Title", {"fg": s:dark_blue})
|
|
|
|
|
call s:h("Visual", {"fg": s:norm, "bg": s:visual})
|
|
|
|
|
call s:h("Visual", {"fg": s:bg_very_subtle, "bg": s:visual})
|
|
|
|
|
call s:h("VisualNOS", {"bg": s:bg_subtle})
|
|
|
|
|
call s:h("WarningMsg", {"fg": s:yellow})
|
|
|
|
|
call s:h("WildMenu", {"fg": s:bg, "bg": s:norm})
|
|
|
|
@ -225,3 +231,19 @@ hi link GitGutterAdd LineNr
|
|
|
|
|
hi link GitGutterDelete LineNr
|
|
|
|
|
hi link GitGutterChange LineNr
|
|
|
|
|
hi link GitGutterChangeDelete LineNr
|
|
|
|
|
|
|
|
|
|
" diff
|
|
|
|
|
call s:h("diffAdded", {"bg": s:bg, "fg": s:green})
|
|
|
|
|
call s:h("diffRemoved", {"bg": s:bg, "fg": s:red})
|
|
|
|
|
|
|
|
|
|
" diagnostic
|
|
|
|
|
call s:h("FloatBorder", {"fg": s:norm_subtle})
|
|
|
|
|
call s:h("NormalFloat", {"bg": s:bg})
|
|
|
|
|
|
|
|
|
|
" treesitter
|
|
|
|
|
" call s:h("pythonError", {"fg": s:actual_white, "bg": s:bg, "cterm": "bold"})
|
|
|
|
|
call s:h("TreesitterContext", {"bg": s:bg_subtle})
|
|
|
|
|
|
|
|
|
|
" indent-blankline
|
|
|
|
|
hi link IblIndent LineNr
|
|
|
|
|
call s:h("IblScope", {"fg": s:green})
|
|
|
|
|