Optional link highlighting.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 09 Mar 2012 14:24:17 -0500 |
parents |
e8c84a5eb5c7
|
children |
7d5b26907ce4
|
branches/tags |
(none) |
files |
README.markdown colors/badwolf.vim |
Changes
--- 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
------------
--- 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 <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 {{{