mirror of
https://github.com/sjl/badwolf.git
synced 2025-11-16 23:13:40 -05:00
Optional link highlighting.
This commit is contained in:
@@ -33,6 +33,19 @@ what you're in for.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
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
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ endif
|
|||||||
|
|
||||||
let colors_name = "badwolf"
|
let colors_name = "badwolf"
|
||||||
|
|
||||||
|
if !exists("g:badwolf_html_link_underline") " {{{
|
||||||
|
let g:badwolf_html_link_underline = 1
|
||||||
|
endif " }}}
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Palette {{{
|
" Palette {{{
|
||||||
|
|
||||||
@@ -429,7 +433,12 @@ call HL('htmlSpecialTagName', 'coffee', '', 'bold')
|
|||||||
call HL('htmlArg', 'coffee', '', 'none')
|
call HL('htmlArg', 'coffee', '', 'none')
|
||||||
|
|
||||||
" Stuff inside an <a> tag
|
" 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 {{{
|
" Java {{{
|
||||||
|
|||||||
Reference in New Issue
Block a user