# HG changeset patch # User Steve Losh # Date 1331321057 18000 # Node ID 5db0de524861f4a33d5587723e87a4c20407cf54 # Parent e8c84a5eb5c7b08128213ec21da73b7aab1c48ee Optional link highlighting. diff -r e8c84a5eb5c7 -r 5db0de524861 README.markdown --- a/README.markdown Fri Mar 09 10:33:38 2012 -0500 +++ b/README.markdown Fri Mar 09 14:24:17 2012 -0500 @@ -33,6 +33,19 @@ ![Screenshot](http://i.imgur.com/J56VS.png) +Configuration +------------- + +There are a few settings you can use to tweak how Bad Wolf looks. + +### g:badwolf\_html\_link\_underline + +Determines whether text inside `a` tags in HTML files will be underlined. + + " Turn off HTML link underlining + let g:badwolf_html_link_underline = 0 + +Default: `1` (on) Contributing ------------ diff -r e8c84a5eb5c7 -r 5db0de524861 colors/badwolf.vim --- a/colors/badwolf.vim Fri Mar 09 10:33:38 2012 -0500 +++ b/colors/badwolf.vim Fri Mar 09 14:24:17 2012 -0500 @@ -43,6 +43,10 @@ let colors_name = "badwolf" +if !exists("g:badwolf_html_link_underline") " {{{ + let g:badwolf_html_link_underline = 1 +endif " }}} + " }}} " Palette {{{ @@ -429,7 +433,12 @@ call HL('htmlArg', 'coffee', '', 'none') " Stuff inside an tag -call HL('htmlLink', 'lightgravel', '', 'underline') + +if g:badwolf_html_link_underline + call HL('htmlLink', 'lightgravel', '', 'underline') +else + call HL('htmlLink', 'lightgravel', '', 'none') +endif " }}} " Java {{{