aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-01-29 20:13:19 +0100
committerHampusM <hampus@hampusmat.com>2022-01-29 20:13:19 +0100
commit9e5ae0fadb33fd671bc5149c59ca1932e2756abb (patch)
tree0d42f0463f8d01be48f81c5d0a031a397ac87d99
parent04868c6636381f376df1e565c966349aff3aebe3 (diff)
feat: add highlighting colors
-rw-r--r--colors/ayu.vim16
1 files changed, 12 insertions, 4 deletions
diff --git a/colors/ayu.vim b/colors/ayu.vim
index 4513f1f..a6f77b7 100644
--- a/colors/ayu.vim
+++ b/colors/ayu.vim
@@ -26,6 +26,7 @@ let s:palette.string = {'dark': "#B8CC52", 'light': "#86B300", 'mirage': "#
let s:palette.function = {'dark': "#FFB454", 'light': "#F29718", 'mirage': "#FFD57F"}
let s:palette.special = {'dark': "#E6B673", 'light': "#E6B673", 'mirage': "#FFC44C"}
let s:palette.keyword = {'dark': "#FF7733", 'light': "#FF7733", 'mirage': "#FFAE57"}
+let s:palette.info = {'dark': "#6C36D8"}
let s:palette.error = {'dark': "#FF3333", 'light': "#FF3333", 'mirage': "#FF3333"}
let s:palette.accent = {'dark': "#F29718", 'light': "#FF6A00", 'mirage': "#FFCC66"}
@@ -89,7 +90,8 @@ exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLineNr" .s:fg_accent .s:bg_line .s:fmt_none
-exe "hi! LineNr" .s:fg_guide .s:bg_none .s:fmt_none
+exe "hi! LineNr" .s:fg_fg_idle .s:bg_panel .s:fmt_none
+exe "hi! Unimportant" .s:fg_fg_idle .s:bg_none .s:fmt_none
exe "hi! Directory" .s:fg_fg_idle .s:bg_none .s:fmt_none
exe "hi! DiffAdd" .s:fg_string .s:bg_panel .s:fmt_none
@@ -120,14 +122,16 @@ exe "hi! SpellRare" .s:fg_regexp .s:bg_none .s:fmt_undr
exe "hi! StatusLine" .s:fg_fg .s:bg_panel .s:fmt_none
exe "hi! StatusLineNC" .s:fg_fg_idle .s:bg_panel .s:fmt_none
exe "hi! WildMenu" .s:fg_bg .s:bg_markup .s:fmt_none
-exe "hi! TabLine" .s:fg_fg .s:bg_panel .s:fmt_revr
-" TabLineFill"
-" TabLineSel"
exe "hi! Title" .s:fg_keyword .s:bg_none .s:fmt_none
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
" VisualNos"
exe "hi! WarningMsg" .s:fg_error .s:bg_none .s:fmt_none
+" Tab line
+exe "hi! TabLineFill " . "guifg=" . s:palette["panel"][s:style] . " guibg=" . s:palette["fg"][s:style] . " gui=reverse"
+exe "hi! TabLine " . "guifg=" . s:palette["panel"][s:style] . " guibg=" . s:palette["fg_idle"][s:style] . " gui=reverse"
+exe "hi! TabLineSel " . "guifg=" . s:palette["panel"][s:style] . " guibg=" . s:palette["fg"][s:style] . " gui=reverse"
+
" TODO LongLineWarning to use variables instead of hardcoding
hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" WildMenu"
@@ -275,3 +279,7 @@ hi! link diffAdded String
let &background = s:style
" }}}
+
+" Coc.nvim
+" ----------
+exe "hi! CocHighlightText " . s:fg_info . " gui=bold,underline"