Compare commits

..

11 Commits
master ... main

@ -47,6 +47,12 @@ let s:yellow = { "gui": "#F3E430", "cterm": "11" }
let s:light_yellow = { "gui": "#ffff87", "cterm": "228" } let s:light_yellow = { "gui": "#ffff87", "cterm": "228" }
let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } 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 let s:background = &background
if &background == "dark" if &background == "dark"
@ -97,7 +103,7 @@ if &background != s:background
endif endif
call s:h("Cursor", {"bg": s:purple, "fg": s:norm }) 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}) call s:h("Constant", {"fg": s:purple})
hi! link Character Constant hi! link Character Constant
@ -119,7 +125,7 @@ hi! link Exception Statement
call s:h("Operator", {"fg": s:norm, "cterm": "bold", "gui": "bold"}) call s:h("Operator", {"fg": s:norm, "cterm": "bold", "gui": "bold"})
call s:h("PreProc", {"fg": s:norm_subtle}) call s:h("PreProc", {"fg": s:norm_subtle})
hi! link Include PreProc hi! link Include PreProc
hi! link Define PreProc hi! link Define PreProc
hi! link Macro PreProc hi! link Macro PreProc
@ -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("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("VertSplit", {"bg": s:bg_very_subtle, "fg": s:bg_very_subtle})
call s:h("Title", {"fg": s:dark_blue}) 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("VisualNOS", {"bg": s:bg_subtle})
call s:h("WarningMsg", {"fg": s:yellow}) call s:h("WarningMsg", {"fg": s:yellow})
call s:h("WildMenu", {"fg": s:bg, "bg": s:norm}) call s:h("WildMenu", {"fg": s:bg, "bg": s:norm})
@ -225,3 +231,19 @@ hi link GitGutterAdd LineNr
hi link GitGutterDelete LineNr hi link GitGutterDelete LineNr
hi link GitGutterChange LineNr hi link GitGutterChange LineNr
hi link GitGutterChangeDelete 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})

Loading…
Cancel
Save