dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit e210379ee29f56c223df998332dffea959ef461c
parent 589c7cbb378b2f7fe64beaf1dc57b50cf377238f
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 24 Mar 2021 13:16:51 +0100

vim: jokull colorscheme change gh dir highlight

Diffstat:
Mvim/colors/jokull.schemer | 2+-
Mvim/colors/jokull.vim | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/vim/colors/jokull.schemer b/vim/colors/jokull.schemer @@ -106,7 +106,7 @@ link debug,special,specialchar,specialcomment,tag,number deli link label,storageclass,typedef structure link character constant link signcolumn linenr -link netrwdir function +link netrwdir,gh_files_dir function link netrwexe title link netrwMarkFile incsearch link spellbad todo diff --git a/vim/colors/jokull.vim b/vim/colors/jokull.vim @@ -56,6 +56,7 @@ hi! link precondit include hi! link tag delimiter hi! link spellbad todo hi! link spellocal string +hi! link gh_files_dir function hi! link conditional statement hi! link markdowncode type hi! link netrwdir function @@ -90,7 +91,7 @@ hi! link operator statement hi! link vimwikilink type hi! link specialchar delimiter " Code to clear any groups that are not defined -let s:DefinedColors=['precondit', 'tag', 'spellbad', 'spellocal', 'conditional', 'markdowncode', 'netrwdir', 'gitcommitsummary', 'netrwexe', 'tabline', 'mkdlink', 'signcolumn', 'spellcap', 'spellrare', 'netrwmarkfile', 'markdownurl', 'error', 'preproc', 'number', 'define', 'typedef', 'repeat', 'specialcomment', 'pmenu', 'storageclass', 'gitcommitoverflow', 'macro', 'pmenusel', 'modemsg', 'character', 'structure', 'debug', 'special', 'label', 'operator', 'vimwikilink', 'specialchar', 'normal', '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'] +let s:DefinedColors=['precondit', 'tag', 'spellbad', 'spellocal', 'gh_files_dir', 'conditional', 'markdowncode', 'netrwdir', 'gitcommitsummary', 'netrwexe', 'tabline', 'mkdlink', 'signcolumn', 'spellcap', 'spellrare', 'netrwmarkfile', 'markdownurl', 'error', 'preproc', 'number', 'define', 'typedef', 'repeat', 'specialcomment', 'pmenu', 'storageclass', 'gitcommitoverflow', 'macro', 'pmenusel', 'modemsg', 'character', 'structure', 'debug', 'special', 'label', 'operator', 'vimwikilink', 'specialchar', 'normal', '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'] 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')")