commit b6121493737357219d6fb10777fd1864c4244c2d
parent c5da2c36d88bc6ec5c5ac1fd22410fdb5a718cf1
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date: Fri, 6 Sep 2024 13:59:33 +0200
vim: extra colors in jokull scheme
Diffstat:
2 files changed, 83 insertions(+), 81 deletions(-)
diff --git a/vim/colors/jokull.schemer b/vim/colors/jokull.schemer
@@ -52,86 +52,87 @@ palette:
ansi: #eff0f3, #125394, #145a9c, #1562c0, #2182e1, #2377e1, #3c68e6, #0a0c0f, #525963, #125394, #145a9c, #1562c0, #2182e1, #2377e1, #3c68e6, #0a0c0f
-" group fg_color, bg_color. attribute
-Normal text, bg
-Keyword darkred
-Cursorline NONE, lightgrey
-String darkgreen. italic
-Identifier redblack
-Function lightblue. bold
-Statement #0050a0
-Include ddarkblue. bold
-Type ddarkblue
-Search NONE, airgreen
-Incsearch NONE, greygreen. bold,underline
-Folded lighterblue, lightgrey
-Tablinefill NONE, lightgrey
-Tablinesel NONE, offwhite
-Wildmenu ddarkblue, offwhite. bold
-Linenr olive, NONE
-Vertsplit NONE
-Todo justblue, justyellow
-Nontext bluegrey
-StatusLine offwhite, ddarkblue
-Statuslinenc offwhite, darkblue
-StatusLineTermNC NONE, lightgreen
-StatusLineTerm NONE, darkgreen
-StatusLineFile offwhite, darkblue
-StatusLineNormMode darkblue, lightgrey.
-Visual NONE, offairblue
-Title darkturq. bold
-Matchparen ddarkgreen, airblue
-QfFileName lighterblue
-Delimiter darkgold
-Comment grey. italic
-ErrorMsg text, softred. bold
-Cursorlinenr orange, NONE. bold
-SpecialKey justblue, NONE. bold
-Constant orange, NONE.
-Diffadd NONE, llightgreen
-Diffdelete NONE, softred
-Diffchange text, lightpurp
-Difftext NONE, darkpurp. bold
-GitGutterAdd ddarkgreen, bg
-GitGutterChange gold, bg
-GitGutterDelete darkred, bg
-GitGutterChangeDelete offlightred, bg
-NormalFloat NONE, lightgrey
-DapUIDecoration offairblue, NONE
-DapUIScope ddarkblue, NONE
-DapUIStoppedThread ddarkblue, NONE
-DapUIBreakpointsPath ddarkblue, NONE
-DapUIBreakpointsCurrentLine darkgreen, NONE
-DapUIWatchesEmpty darkred, NONE
-DapUIModifiedValue offlightred, NONE
+" group fg_color, bg_color. attribute
+Normal text, bg
+Keyword darkred
+Cursorline NONE, lightgrey
+String darkgreen. italic
+Identifier redblack
+Function lightblue. bold
+Statement #0050a0
+Include ddarkblue. bold
+Type ddarkblue
+Search NONE, airgreen
+Incsearch NONE, greygreen. bold,underline
+Folded lighterblue, lightgrey
+Tablinefill NONE, lightgrey
+Tablinesel NONE, offwhite
+Wildmenu ddarkblue, offwhite. bold
+Linenr olive, NONE
+Vertsplit NONE
+Todo justblue, justyellow
+Nontext bluegrey
+StatusLine offwhite, ddarkblue
+Statuslinenc offwhite, darkblue
+StatusLineTermNC NONE, lightgreen
+StatusLineTerm NONE, darkgreen
+StatusLineFile offwhite, darkblue
+StatusLineNormMode darkblue, lightgrey.
+Visual NONE, offairblue
+Title darkturq. bold
+Matchparen ddarkgreen, airblue
+QfFileName lighterblue
+Delimiter darkgold
+Comment grey. italic
+ErrorMsg text, softred. bold
+Cursorlinenr orange, NONE. bold
+SpecialKey justblue, NONE. bold
+Constant orange, NONE.
+Diffadd NONE, llightgreen
+Diffdelete NONE, softred
+Diffchange text, lightpurp
+Difftext NONE, darkpurp. bold
+GitGutterAdd ddarkgreen, bg
+GitGutterChange gold, bg
+GitGutterDelete darkred, bg
+GitGutterChangeDelete offlightred, bg
+NormalFloat NONE, lightgrey
+DapUIDecoration offairblue, NONE
+DapUIScope ddarkblue, NONE
+DapUIStoppedThread ddarkblue, NONE
+DapUIBreakpointsPath ddarkblue, NONE
+DapUIBreakpointsCurrentLine darkgreen, NONE
+DapUIWatchesEmpty darkred, NONE
+DapUIModifiedValue offlightred, NONE
-" link group1,group2,... target group
-link structure type
-link tabline tablinefill
-link repeat,conditional,operator statement
-link define,macro,precondit,preproc include
-link debug,special,specialchar,specialcomment,tag,number delimiter
-link label,storageclass,typedef structure
-link character constant
-link signcolumn linenr
-link netrwdir,gh_files_dir function
-link netrwexe title
-link netrwMarkFile incsearch
-link spellbad todo
-link spelllocal,spellrare,spellcap,markdownUrl,modemsg string
-link markdowncode,mkdlink,vimwikilink type
-link pmenu statuslinenc
-link pmenusel statusline
-link error errormsg
-link ALEError errormsg
-link ALEErrorLine diffdelete
-link ALEWarning diffchange
-link ALEWarningLine difftext
-link gitcommitSummary include
-link gitcommitOverflow errormsg
+" link group1,group2,... target group
+link structure type
+link tabline tablinefill
+link repeat,conditional,operator statement
+link define,macro,precondit,preproc include
+link debug,special,specialchar,specialcomment,tag,number delimiter
+link label,storageclass,typedef structure
+link character constant
+link signcolumn linenr
+link netrwdir,gh_files_dir function
+link netrwexe title
+link netrwMarkFile incsearch
+link spellbad todo
+link spelllocal,spellrare,spellcap,markdownUrl,modemsg string
+link markdowncode,mkdlink,vimwikilink type
+link pmenu statuslinenc
+link pmenusel statusline
+link error errormsg
+link ALEError errormsg
+link ALEErrorLine diffdelete
+link ALEWarning diffchange
+link ALEWarningLine difftext
+link gitcommitSummary include
+link gitcommitOverflow errormsg
link DapUIStepOver,DapUIStepInto,DapUIStepBack,DapUIStepOut DapUIScope
-link DapUIPlayPause,DapUIRestart,DapUIWatchesValue darkgreen
-link DapUIWatchesError,DapUIStop DapUIWatchesEmpty
-link LspInlayHint Comment
-link MarkviewInlineCode,MarkviewCode NormalFloat
+link DapUIPlayPause,DapUIRestart,DapUIWatchesValue darkgreen
+link DapUIWatchesError,DapUIStop DapUIWatchesEmpty
+link LspInlayHint Comment
+link MarkviewInlineCode,MarkviewCode NormalFloat
+link QuickFixLine Cursorline
diff --git a/vim/colors/jokull.vim b/vim/colors/jokull.vim
@@ -64,6 +64,7 @@ hi DapUIModifiedValue guifg=#80537e guibg=NONE ctermfg=96 ctermbg=NONE cterm=NON
hi! link tag delimiter
hi! link gh_files_dir function
hi! link conditional statement
+hi! link QuickFixLine Cursorline
hi! link netrwexe title
hi! link ALEWarningLine difftext
hi! link signcolumn linenr
@@ -116,7 +117,7 @@ hi! link DapUIStepOver DapUIScope
hi! link spellbad todo
hi! link character constant
" Code to clear any groups that are not defined
-let s:DefinedColors=['tag', 'gh_files_dir', 'conditional', 'netrwexe', 'alewarningline', 'signcolumn', 'netrwmarkfile', 'pmenusel', 'dapuiwatchesvalue', 'aleerror', 'specialcomment', 'dapuistepout', 'precondit', 'markdowncode', 'dapuiwatcheserror', 'tabline', 'dapuistepback', 'mkdlink', 'netrwdir', 'dapuistepinto', 'dapuirestart', 'number', 'typedef', 'alewarning', 'macro', 'modemsg', 'repeat', 'special', 'operator', 'specialchar', 'label', 'aleerrorline', 'dapuistop', 'dapuiplaypause', 'spellrare', 'define', 'lspinlayhint', 'gitcommitoverflow', 'gitcommitsummary', 'debug', 'markviewcode', 'structure', 'pmenu', 'vimwikilink', 'spelllocal', 'spellcap', 'markdownurl', 'error', 'preproc', 'markviewinlinecode', 'storageclass', 'dapuistepover', 'spellbad', 'character', 'normal', 'keyword', 'cursorline', 'string', 'identifier', 'function', 'statement', 'include', 'type', 'search', 'incsearch', 'folded', 'tablinefill', 'tablinesel', 'wildmenu', 'linenr', 'vertsplit', 'todo', 'nontext', 'statusline', 'statuslinenc', 'statuslinetermnc', 'statuslineterm', 'statuslinefile', 'statuslinenormmode', 'visual', 'title', 'matchparen', 'qffilename', 'delimiter', 'comment', 'errormsg', 'cursorlinenr', 'specialkey', 'constant', 'diffadd', 'diffdelete', 'diffchange', 'difftext', 'gitgutteradd', 'gitgutterchange', 'gitgutterdelete', 'gitgutterchangedelete', 'normalfloat', 'dapuidecoration', 'dapuiscope', 'dapuistoppedthread', 'dapuibreakpointspath', 'dapuibreakpointscurrentline', 'dapuiwatchesempty', 'dapuimodifiedvalue']
+let s:DefinedColors=['tag', 'gh_files_dir', 'conditional', 'quickfixline', 'netrwexe', 'alewarningline', 'signcolumn', 'netrwmarkfile', 'pmenusel', 'dapuiwatchesvalue', 'aleerror', 'specialcomment', 'dapuistepout', 'precondit', 'markdowncode', 'dapuiwatcheserror', 'tabline', 'dapuistepback', 'mkdlink', 'netrwdir', 'dapuistepinto', 'dapuirestart', 'number', 'typedef', 'alewarning', 'macro', 'modemsg', 'repeat', 'special', 'operator', 'specialchar', 'label', 'aleerrorline', 'dapuistop', 'dapuiplaypause', 'spellrare', 'define', 'lspinlayhint', 'gitcommitoverflow', 'gitcommitsummary', 'debug', 'markviewcode', 'structure', 'pmenu', 'vimwikilink', 'spelllocal', 'spellcap', 'markdownurl', 'error', 'preproc', 'markviewinlinecode', 'storageclass', 'dapuistepover', 'spellbad', 'character', 'normal', 'keyword', 'cursorline', 'string', 'identifier', 'function', 'statement', 'include', 'type', 'search', 'incsearch', 'folded', 'tablinefill', 'tablinesel', 'wildmenu', 'linenr', 'vertsplit', 'todo', 'nontext', 'statusline', 'statuslinenc', 'statuslinetermnc', 'statuslineterm', 'statuslinefile', 'statuslinenormmode', 'visual', 'title', 'matchparen', 'qffilename', 'delimiter', 'comment', 'errormsg', 'cursorlinenr', 'specialkey', 'constant', 'diffadd', 'diffdelete', 'diffchange', 'difftext', 'gitgutteradd', 'gitgutterchange', 'gitgutterdelete', 'gitgutterchangedelete', 'normalfloat', 'dapuidecoration', 'dapuiscope', 'dapuistoppedthread', 'dapuibreakpointspath', 'dapuibreakpointscurrentline', 'dapuiwatchesempty', 'dapuimodifiedvalue']
function! s:ClearUndefinedColors(colors)
let undefined_groups = filter(a:colors->keys()->map('tolower(v:val)'), 'index(s:DefinedColors, tolower(v:val)) < 0')
call map(undefined_groups, "execute('highlight' . ' ' . v:val . ' ' . 'NONE')")