mirror of
https://github.com/sjl/badwolf.git
synced 2025-11-10 12:03:49 -05:00
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa533923db | ||
|
|
627b4658ed | ||
|
|
c9d64955b9 | ||
|
|
87a1e67bb2 | ||
|
|
41ece91bbf | ||
|
|
013afaacae | ||
|
|
211335c4b6 | ||
|
|
f2ee2b3aeb | ||
|
|
5b2e5a8417 | ||
|
|
33442485f5 | ||
|
|
7e3e2124c4 | ||
|
|
d9b2769210 | ||
|
|
61f9da7dc0 | ||
|
|
03ac89e057 | ||
|
|
39d5612352 | ||
|
|
ef7257cb4c | ||
|
|
efe9eada33 |
2
.hgtags
2
.hgtags
@@ -3,3 +3,5 @@
|
||||
2804e4d33d917aa2251b6d33709d17223fd5e5d0 v1.1.1
|
||||
599ba7563aa4251e5f51c3e00ed8c993fe1426c5 v1.1.2
|
||||
8c3583c971acda5cb4f034dbe643e5a9315db63b v1.2.0
|
||||
4e6ee97af8b02741af86dcb2eb3f0f4dbbcc9761 v1.3.0
|
||||
5b17fcb91dd54bff3987513ece727b45105b15fc v1.4.0
|
||||
|
||||
@@ -40,6 +40,37 @@ Configuration
|
||||
|
||||
There are a few settings you can use to tweak how Bad Wolf looks.
|
||||
|
||||
### g:badwolf\_darkgutter
|
||||
|
||||
Determines whether the line number, sign column, and fold column are rendered
|
||||
darker than the normal background, or the same.
|
||||
|
||||
" Make the gutters darker than the background.
|
||||
let g:badwolf_darkgutter = 1
|
||||
|
||||
Default: `0` (off, gutters are the same as the background)
|
||||
|
||||
### g:badwolf\_tabline
|
||||
|
||||
Determines how light to render the background of the tab line (the line at the
|
||||
top of the screen containing the various tabs (only in console mode)).
|
||||
|
||||
Can be set to `0`, `1`, `2`, or `3`.
|
||||
|
||||
" Make the tab line darker than the background.
|
||||
let g:badwolf_tabline = 0
|
||||
|
||||
" Make the tab line the same color as the background.
|
||||
let g:badwolf_tabline = 1
|
||||
|
||||
" Make the tab line lighter than the background.
|
||||
let g:badwolf_tabline = 2
|
||||
|
||||
" Make the tab line much lighter than the background.
|
||||
let g:badwolf_tabline = 3
|
||||
|
||||
Default: `1` (same color as the background)
|
||||
|
||||
### g:badwolf\_html\_link\_underline
|
||||
|
||||
Determines whether text inside `a` tags in HTML files will be underlined.
|
||||
@@ -49,6 +80,15 @@ Determines whether text inside `a` tags in HTML files will be underlined.
|
||||
|
||||
Default: `1` (on)
|
||||
|
||||
### g:badwolf\_css\_props\_highlight
|
||||
|
||||
Determines whether CSS properties should be highlighted.
|
||||
|
||||
" Turn on CSS properties highlighting
|
||||
let g:badwolf_css_props_highlight = 1
|
||||
|
||||
Default: `0` (off)
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
|
||||
@@ -47,6 +47,10 @@ if !exists("g:badwolf_html_link_underline") " {{{
|
||||
let g:badwolf_html_link_underline = 1
|
||||
endif " }}}
|
||||
|
||||
if !exists("g:badwolf_css_props_highlight") " {{{
|
||||
let g:badwolf_css_props_highlight = 0
|
||||
endif " }}}
|
||||
|
||||
" }}}
|
||||
" Palette {{{
|
||||
|
||||
@@ -150,6 +154,22 @@ else
|
||||
let s:gutter = 'blackgravel'
|
||||
endif
|
||||
|
||||
if exists('g:badwolf_tabline')
|
||||
if g:badwolf_tabline == 0
|
||||
let s:tabline = 'blackestgravel'
|
||||
elseif g:badwolf_tabline == 1
|
||||
let s:tabline = 'blackgravel'
|
||||
elseif g:badwolf_tabline == 2
|
||||
let s:tabline = 'darkgravel'
|
||||
elseif g:badwolf_tabline == 3
|
||||
let s:tabline = 'deepgravel'
|
||||
else
|
||||
let s:tabline = 'blackestgravel'
|
||||
endif
|
||||
else
|
||||
let s:tabline = 'blackgravel'
|
||||
endif
|
||||
|
||||
" }}}
|
||||
|
||||
" Actual colorscheme ----------------------------------------------------------
|
||||
@@ -167,6 +187,10 @@ call s:HL('CursorLine', '', 'darkgravel', 'none')
|
||||
call s:HL('CursorColumn', '', 'darkgravel')
|
||||
call s:HL('ColorColumn', '', 'darkgravel')
|
||||
|
||||
call s:HL('TabLine', 'plain', s:tabline, 'none')
|
||||
call s:HL('TabLineFill', 'plain', s:tabline, 'none')
|
||||
call s:HL('TabLineSel', 'coal', 'tardis', 'none')
|
||||
|
||||
call s:HL('MatchParen', 'dalespale', 'darkgravel', 'bold')
|
||||
|
||||
call s:HL('NonText', 'deepgravel', 'bg')
|
||||
@@ -296,7 +320,7 @@ call s:HL('DiffText', 'snow', 'deepergravel', 'bold')
|
||||
|
||||
if has("spell")
|
||||
call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
|
||||
call s:HL('SpellBad', '', '', 'undercurl', 'dalespale')
|
||||
call s:HL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
|
||||
call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale')
|
||||
call s:HL('SpellRare', '', '', 'undercurl', 'dalespale')
|
||||
endif
|
||||
@@ -355,7 +379,11 @@ call s:HL('EasyMotionShade', 'deepgravel', 'bg')
|
||||
" from my Vimrc.
|
||||
call s:HL('InterestingWord1', 'coal', 'orange')
|
||||
call s:HL('InterestingWord2', 'coal', 'lime')
|
||||
call s:HL('InterestingWord3', 'coal', 'taffy')
|
||||
call s:HL('InterestingWord3', 'coal', 'saltwatertaffy')
|
||||
call s:HL('InterestingWord4', 'coal', 'toffee')
|
||||
call s:HL('InterestingWord5', 'coal', 'dress')
|
||||
call s:HL('InterestingWord6', 'coal', 'taffy')
|
||||
|
||||
|
||||
" }}}
|
||||
" Makegreen {{{
|
||||
@@ -363,6 +391,26 @@ call s:HL('InterestingWord3', 'coal', 'taffy')
|
||||
" hi GreenBar term=reverse ctermfg=white ctermbg=green guifg=coal guibg=#9edf1c
|
||||
" hi RedBar term=reverse ctermfg=white ctermbg=red guifg=white guibg=#C50048
|
||||
|
||||
" }}}
|
||||
" Rainbow Parentheses {{{
|
||||
|
||||
call s:HL('level16c', 'mediumgravel', '', 'bold')
|
||||
call s:HL('level15c', 'dalespale', '', '')
|
||||
call s:HL('level14c', 'dress', '', '')
|
||||
call s:HL('level13c', 'orange', '', '')
|
||||
call s:HL('level12c', 'tardis', '', '')
|
||||
call s:HL('level11c', 'lime', '', '')
|
||||
call s:HL('level10c', 'toffee', '', '')
|
||||
call s:HL('level9c', 'saltwatertaffy', '', '')
|
||||
call s:HL('level8c', 'coffee', '', '')
|
||||
call s:HL('level7c', 'dalespale', '', '')
|
||||
call s:HL('level6c', 'dress', '', '')
|
||||
call s:HL('level5c', 'orange', '', '')
|
||||
call s:HL('level4c', 'tardis', '', '')
|
||||
call s:HL('level3c', 'lime', '', '')
|
||||
call s:HL('level2c', 'toffee', '', '')
|
||||
call s:HL('level1c', 'saltwatertaffy', '', '')
|
||||
|
||||
" }}}
|
||||
" ShowMarks {{{
|
||||
|
||||
@@ -397,11 +445,19 @@ call s:HL('clojureAnonArg', 'snow', '', 'bold')
|
||||
" }}}
|
||||
" CSS {{{
|
||||
|
||||
if g:badwolf_css_props_highlight
|
||||
call s:HL('cssColorProp', 'dirtyblonde', '', 'none')
|
||||
call s:HL('cssBoxProp', 'dirtyblonde', '', 'none')
|
||||
call s:HL('cssTextProp', 'dirtyblonde', '', 'none')
|
||||
call s:HL('cssRenderProp', 'dirtyblonde', '', 'none')
|
||||
call s:HL('cssGeneratedContentProp', 'dirtyblonde', '', 'none')
|
||||
else
|
||||
call s:HL('cssColorProp', 'fg', '', 'none')
|
||||
call s:HL('cssBoxProp', 'fg', '', 'none')
|
||||
call s:HL('cssTextProp', 'fg', '', 'none')
|
||||
call s:HL('cssRenderProp', 'fg', '', 'none')
|
||||
call s:HL('cssGeneratedContentProp', 'fg', '', 'none')
|
||||
end
|
||||
|
||||
call s:HL('cssValueLength', 'toffee', '', 'bold')
|
||||
call s:HL('cssColor', 'toffee', '', 'bold')
|
||||
@@ -463,11 +519,44 @@ call s:HL('javaCommentTitle', 'gravel', '')
|
||||
call s:HL('javaDocTags', 'snow', '', 'none')
|
||||
call s:HL('javaDocParam', 'dalespale', '', '')
|
||||
|
||||
" }}}
|
||||
" LaTeX {{{
|
||||
|
||||
call s:HL('texStatement', 'tardis', '', 'none')
|
||||
call s:HL('texMathZoneX', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneA', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneB', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneC', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneD', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneE', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneV', 'orange', '', 'none')
|
||||
call s:HL('texMathZoneX', 'orange', '', 'none')
|
||||
call s:HL('texMath', 'orange', '', 'none')
|
||||
call s:HL('texMathMatcher', 'orange', '', 'none')
|
||||
call s:HL('texRefLabel', 'dirtyblonde', '', 'none')
|
||||
call s:HL('texRefZone', 'lime', '', 'none')
|
||||
call s:HL('texComment', 'darkroast', '', 'none')
|
||||
call s:HL('texDelimiter', 'orange', '', 'none')
|
||||
call s:HL('texZone', 'brightgravel', '', 'none')
|
||||
|
||||
augroup badwolf_tex
|
||||
au!
|
||||
|
||||
au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
|
||||
au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
" LessCSS {{{
|
||||
|
||||
call s:HL('lessVariable', 'lime', '', 'none')
|
||||
|
||||
" }}}
|
||||
" Lispyscript {{{
|
||||
|
||||
call s:HL('lispyscriptDefMacro', 'lime', '', '')
|
||||
call s:HL('lispyscriptRepeat', 'dress', '', 'none')
|
||||
|
||||
" }}}
|
||||
" Mail {{{
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
hg archive ~/Desktop/badwolf.zip -I 'colors' -I README.markdown
|
||||
hg archive ~/Desktop/badwolf.zip -I 'colors' -I README.markdown -I 'contrib'
|
||||
|
||||
Reference in New Issue
Block a user