mirror of
https://github.com/sjl/badwolf.git
synced 2025-11-08 11:03:48 -05:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
211335c4b6 | ||
|
|
f2ee2b3aeb | ||
|
|
5b2e5a8417 | ||
|
|
33442485f5 | ||
|
|
7e3e2124c4 | ||
|
|
d9b2769210 | ||
|
|
61f9da7dc0 | ||
|
|
03ac89e057 | ||
|
|
39d5612352 | ||
|
|
ef7257cb4c | ||
|
|
9c3ac48892 | ||
|
|
7d4d4e1843 | ||
|
|
647fbb8805 | ||
|
|
efe9eada33 | ||
|
|
9c209cc4a7 | ||
|
|
01f4915dda |
2
.hgtags
2
.hgtags
@@ -2,3 +2,5 @@
|
||||
9c22ea4982a779254214a2fcb4ba62918afcae69 v1.1.0
|
||||
2804e4d33d917aa2251b6d33709d17223fd5e5d0 v1.1.1
|
||||
599ba7563aa4251e5f51c3e00ed8c993fe1426c5 v1.1.2
|
||||
8c3583c971acda5cb4f034dbe643e5a9315db63b v1.2.0
|
||||
4e6ee97af8b02741af86dcb2eb3f0f4dbbcc9761 v1.3.0
|
||||
|
||||
@@ -49,6 +49,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 {{{
|
||||
|
||||
@@ -296,7 +300,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
|
||||
@@ -397,11 +401,19 @@ call s:HL('clojureAnonArg', 'snow', '', 'bold')
|
||||
" }}}
|
||||
" CSS {{{
|
||||
|
||||
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')
|
||||
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')
|
||||
@@ -441,6 +453,7 @@ call s:HL('htmlEndTag', 'darkroast', 'bg', 'none')
|
||||
" Tag names
|
||||
call s:HL('htmlTagName', 'coffee', '', 'bold')
|
||||
call s:HL('htmlSpecialTagName', 'coffee', '', 'bold')
|
||||
call s:HL('htmlSpecialChar', 'lime', '', 'none')
|
||||
|
||||
" Attributes
|
||||
call s:HL('htmlArg', 'coffee', '', 'none')
|
||||
@@ -462,6 +475,33 @@ 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 {{{
|
||||
|
||||
@@ -509,18 +549,25 @@ call s:HL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
|
||||
call s:HL('markdownCode', 'dirtyblonde', '', 'none')
|
||||
call s:HL('markdownCodeBlock', 'dirtyblonde', '', 'none')
|
||||
|
||||
" }}}
|
||||
" MySQL {{{
|
||||
|
||||
call s:HL('mysqlSpecial', 'dress', '', 'bold')
|
||||
|
||||
" }}}
|
||||
" Python {{{
|
||||
|
||||
hi def link pythonOperator Operator
|
||||
call s:HL('pythonBuiltin', 'dress')
|
||||
call s:HL('pythonBuiltinObj', 'dress')
|
||||
call s:HL('pythonBuiltin', 'dress')
|
||||
call s:HL('pythonBuiltinObj', 'dress')
|
||||
call s:HL('pythonBuiltinFunc', 'dress')
|
||||
call s:HL('pythonEscape', 'dress')
|
||||
call s:HL('pythonException', 'lime', '', 'bold')
|
||||
call s:HL('pythonExceptions', 'lime', '', 'none')
|
||||
call s:HL('pythonPrecondit', 'lime', '', 'none')
|
||||
call s:HL('pythonDecorator', 'taffy', '', 'none')
|
||||
call s:HL('pythonEscape', 'dress')
|
||||
call s:HL('pythonException', 'lime', '', 'bold')
|
||||
call s:HL('pythonExceptions', 'lime', '', 'none')
|
||||
call s:HL('pythonPrecondit', 'lime', '', 'none')
|
||||
call s:HL('pythonDecorator', 'taffy', '', 'none')
|
||||
call s:HL('pythonRun', 'gravel', '', 'bold')
|
||||
call s:HL('pythonCoding', 'gravel', '', 'bold')
|
||||
|
||||
" }}}
|
||||
" SLIMV {{{
|
||||
|
||||
44
contrib/badwolf.muttrc
Normal file
44
contrib/badwolf.muttrc
Normal file
@@ -0,0 +1,44 @@
|
||||
color normal color15 color233
|
||||
color error brightcolor15 color196
|
||||
color indicator color15 color235
|
||||
color status brightcolor39 color233
|
||||
color markers color142 color233
|
||||
|
||||
color hdrdefault color245 color233
|
||||
color header brightcolor214 color233 "^(Subject): "
|
||||
color signature color243 color233
|
||||
|
||||
color body color137 color233 [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
|
||||
color body color137 color233 ((https?|ftp)://|www)+[\-\.\;@,/%~_:?&=\#a-zA-Z0-9+]+
|
||||
color bold brightcolor15 color233
|
||||
color search brightcolor16 color221
|
||||
|
||||
color quoted color243 color233
|
||||
color quoted1 color211 color233
|
||||
color quoted2 color222 color233
|
||||
color quoted3 color214 color233
|
||||
color quoted4 color154 color233
|
||||
|
||||
color tilde color240 color233
|
||||
color tree color240 color233
|
||||
color attachment brightcolor211 color233
|
||||
|
||||
# http://www.mutt.org/doc/manual/manual-4.html#ss4.2
|
||||
# color index color241 color233 ~A
|
||||
# color index color241 color233 ~Q
|
||||
# color index color243 color233 ~P
|
||||
color index color221 color233 ~N
|
||||
color index brightcolor211 color233 ~F
|
||||
color index brightcolor39 color233 ~T
|
||||
color index color243 color233 ~Q
|
||||
color index color196 color233 ~D
|
||||
|
||||
# Colorize inline diffs, really helpful for LKML or other mailing lists where
|
||||
# mails frequently include patches.
|
||||
color body brightcolor15 color233 '^diff .*'
|
||||
color body brightcolor15 color233 '^[Ii]{1}ndex .*'
|
||||
color body brightcolor15 color233 '^=+$'
|
||||
color body brightcolor15 color233 '^(---|\+\+\+) .*'
|
||||
color body brightcolor15 color233 '^@@ .*'
|
||||
color body color121 color233 '^\+([^\+].*)?$'
|
||||
color body color211 color233 '^-([^-].*)?$'
|
||||
@@ -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