4 Commits

Author SHA1 Message Date
Dan Cassidy
5096bba496 Merge e586974ff0 into 61d75affa5 2024-09-26 23:31:51 +00: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
Dan Cassidy
e586974ff0 Add config option to change folded line bg 2020-05-01 18:27:42 +12:00
3 changed files with 76 additions and 2 deletions

View File

@@ -50,6 +50,26 @@ darker than the normal background, or the same.
Default: `0` (off, gutters are the same as the background) 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 ### g:badwolf\_tabline
Determines how light to render the background of the tab line (the line at the Determines how light to render the background of the tab line (the line at the

View File

@@ -160,6 +160,22 @@ else
let s:gutter = 'blackgravel' let s:gutter = 'blackgravel'
endif 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 exists('g:badwolf_tabline')
if g:badwolf_tabline == 0 if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel' let s:tabline = 'blackestgravel'
@@ -185,7 +201,7 @@ endif
call s:HL('Normal', 'plain', 'blackgravel') call s:HL('Normal', 'plain', 'blackgravel')
call s:HL('Folded', 'mediumgravel', 'bg', 'none') call s:HL('Folded', 'mediumgravel', s:folded, 'none')
call s:HL('VertSplit', 'lightgravel', 'bg', 'none') call s:HL('VertSplit', 'lightgravel', 'bg', 'none')

View File

@@ -139,6 +139,22 @@ else
let s:gutter = 'blackgravel' let s:gutter = 'blackgravel'
endif 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 exists('g:badwolf_tabline')
if g:badwolf_tabline == 0 if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel' let s:tabline = 'blackestgravel'
@@ -165,7 +181,7 @@ endif
" call GoodWolfHL('Normal', 'plain', 'blackgravel') " call GoodWolfHL('Normal', 'plain', 'blackgravel')
call GoodWolfHL('Normal', 'plain', 'blackestgravel') call GoodWolfHL('Normal', 'plain', 'blackestgravel')
call GoodWolfHL('Folded', 'mediumgravel', 'bg', 'none') call GoodWolfHL('Folded', 'mediumgravel', s:folded, 'none')
call GoodWolfHL('VertSplit', 'lightgravel', 'bg', 'none') call GoodWolfHL('VertSplit', 'lightgravel', 'bg', 'none')
@@ -437,6 +453,21 @@ else
call GoodWolfHL('htmlLink', 'lightgravel', '', 'none') call GoodWolfHL('htmlLink', 'lightgravel', '', 'none')
endif 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 {{{ " Java {{{
@@ -563,6 +594,13 @@ call GoodWolfHL('scalaParamAnnotationValue', 'gravel', '', 'bold')
call GoodWolfHL('scalaCommentAnnotation', 'gravel', '', 'bold') call GoodWolfHL('scalaCommentAnnotation', 'gravel', '', 'bold')
call GoodWolfHL('scalaDocLinks', 'gravel', '', 'bold') call GoodWolfHL('scalaDocLinks', 'gravel', '', 'bold')
" }}}
" Singularity {{{
call GoodWolfHL('singularitySectionLine', 'taffy', '', 'bold')
call GoodWolfHL('singularitySection', 'taffy', '', 'bold')
call GoodWolfHL('singularityKeyword', 'dress', '', '')
" }}} " }}}
" Vim {{{ " Vim {{{