4 Commits

Author SHA1 Message Date
Steve Losh
585229900f Merge pull request #48 from cvanloo/fix/highlights
fix: clear highlights before loading colors
2025-08-15 14:59:31 -04:00
Colin van Loo
8dfd3abb8d fix: clear highlights before loading colors 2025-06-22 15:33:39 +09:00
Steve Losh
61d75affa5 Add TEN templates and Singularity to goodwolf 2024-05-23 13:50:11 -04:00
Steve Losh
c584259ec1 Add some basic Django stuff to goodwolf 2024-05-08 10:22:05 -04:00
3 changed files with 26 additions and 54 deletions

View File

@@ -50,26 +50,6 @@ darker than the normal background, or the same.
Default: `0` (off, gutters are the same as the background)
### g:badwolf\_folded
Determines how light to render the background of folded linese.
Can be set to `0`, `1`, `2`, or `3`.
" Make folded lines darker than the background.
let g:badwolf_folded = 0
" Make folded lines the same color as the background.
let g:badwolf_folded = 1
" Make folded lines lighter than the background.
let g:badwolf_folded = 2
" Make folded lines much lighter than the background.
let g:badwolf_folded = 3
Default: `1` (same color as the background)
### g:badwolf\_tabline
Determines how light to render the background of the tab line (the line at the

View File

@@ -35,6 +35,7 @@ if !has("gui_running") && &t_Co != 88 && &t_Co != 256
finish
endif
highlight clear
set background=dark
if exists("syntax_on")
@@ -160,22 +161,6 @@ else
let s:gutter = 'blackgravel'
endif
if exists('g:badwolf_folded')
if g:badwolf_folded == 0
let s:folded = 'blackestgravel'
elseif g:badwolf_folded == 1
let s:folded = 'blackgravel'
elseif g:badwolf_folded == 2
let s:folded = 'darkgravel'
elseif g:badwolf_folded == 3
let s:folded = 'deepgravel'
else
let s:folded = 'blackestgravel'
endif
else
let s:folded = 'blackgravel'
endif
if exists('g:badwolf_tabline')
if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel'
@@ -201,7 +186,7 @@ endif
call s:HL('Normal', 'plain', 'blackgravel')
call s:HL('Folded', 'mediumgravel', s:folded, 'none')
call s:HL('Folded', 'mediumgravel', 'bg', 'none')
call s:HL('VertSplit', 'lightgravel', 'bg', 'none')

View File

@@ -19,6 +19,7 @@ if !has("gui_running") && &t_Co != 88 && &t_Co != 256
finish
endif
highlight clear
set background=dark
if exists("syntax_on")
@@ -139,22 +140,6 @@ else
let s:gutter = 'blackgravel'
endif
if exists('g:badwolf_folded')
if g:badwolf_folded == 0
let s:folded = 'blackestgravel'
elseif g:badwolf_folded == 1
let s:folded = 'blackgravel'
elseif g:badwolf_folded == 2
let s:folded = 'darkgravel'
elseif g:badwolf_folded == 3
let s:folded = 'deepgravel'
else
let s:folded = 'blackestgravel'
endif
else
let s:folded = 'blackgravel'
endif
if exists('g:badwolf_tabline')
if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel'
@@ -181,7 +166,7 @@ endif
" call GoodWolfHL('Normal', 'plain', 'blackgravel')
call GoodWolfHL('Normal', 'plain', 'blackestgravel')
call GoodWolfHL('Folded', 'mediumgravel', s:folded, 'none')
call GoodWolfHL('Folded', 'mediumgravel', 'bg', 'none')
call GoodWolfHL('VertSplit', 'lightgravel', 'bg', 'none')
@@ -453,6 +438,21 @@ else
call GoodWolfHL('htmlLink', 'lightgravel', '', 'none')
endif
" }}}
" HTML/Django {{{
call GoodWolfHL('djangoTagBlock', 'coffee', 'bg', 'bold')
call GoodWolfHL('djangoStatement', 'orange', 'bg', 'none')
call GoodWolfHL('djangoArgument', 'dress', 'bg', 'none')
call GoodWolfHL('djangoVarBlock', 'lime', 'bg', 'none')
" }}}
" HTML/TEN {{{
call GoodWolfHL('tenTagBlock', 'orange', 'bg', 'bold')
call GoodWolfHL('tenArgument', 'lime', 'bg', 'none')
call GoodWolfHL('tenVarBlock', 'dress', 'bg', 'none')
" }}}
" Java {{{
@@ -579,6 +579,13 @@ call GoodWolfHL('scalaParamAnnotationValue', 'gravel', '', 'bold')
call GoodWolfHL('scalaCommentAnnotation', 'gravel', '', 'bold')
call GoodWolfHL('scalaDocLinks', 'gravel', '', 'bold')
" }}}
" Singularity {{{
call GoodWolfHL('singularitySectionLine', 'taffy', '', 'bold')
call GoodWolfHL('singularitySection', 'taffy', '', 'bold')
call GoodWolfHL('singularityKeyword', 'dress', '', '')
" }}}
" Vim {{{