commit 2676d13c24fdb0e3e0d4076c1b90c7392b089411
parent 980b188c61d637e0534bffdd0259ffbdf52054c0
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 11 Jun 2023 23:59:25 +0200
vim: jokull scheme update
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/vim/colors/jokull.schemer b/vim/colors/jokull.schemer
@@ -133,3 +133,4 @@ link gitcommitOverflow erro
link DapUIStepOver,DapUIStepInto,DapUIStepBack,DapUIStepOut DapUIScope
link DapUIPlayPause,DapUIRestart,DapUIWatchesValue darkgreen
link DapUIWatchesError,DapUIStop DapUIWatchesEmpty
+link LspInlayHint Comment
diff --git a/vim/colors/jokull.vim b/vim/colors/jokull.vim
@@ -94,15 +94,16 @@ hi! link specialchar delimiter
hi! link label structure
hi! link ALEErrorLine diffdelete
hi! link DapUIStop DapUIWatchesEmpty
+hi! link DapUIPlayPause darkgreen
hi! link spellrare string
hi! link define include
+hi! link LspInlayHint Comment
hi! link gitcommitOverflow errormsg
-hi! link DapUIPlayPause darkgreen
+hi! link gitcommitSummary include
hi! link debug delimiter
hi! link structure type
hi! link pmenu statuslinenc
hi! link vimwikilink type
-hi! link gitcommitSummary include
hi! link spelllocal string
hi! link spellcap string
hi! link markdownUrl string
@@ -113,7 +114,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', 'spellrare', 'define', 'gitcommitoverflow', 'dapuiplaypause', 'debug', 'structure', 'pmenu', 'vimwikilink', 'gitcommitsummary', 'spelllocal', 'spellcap', 'markdownurl', 'error', 'preproc', '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', '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', 'structure', 'pmenu', 'vimwikilink', 'spelllocal', 'spellcap', 'markdownurl', 'error', 'preproc', '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')")