Optional link highlighting.

This commit is contained in:
Steve Losh
2012-03-09 14:24:17 -05:00
parent 6937e33f60
commit dcd37e72ff
2 changed files with 23 additions and 1 deletions

View File

@@ -33,6 +33,19 @@ what you're in for.
![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
------------

View File

@@ -43,6 +43,10 @@ endif
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('htmlSpecialTagName', 'coffee', '', 'bold')
call HL('htmlArg', 'coffee', '', 'none')
" Stuff inside an <a> 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 {{{