mirror of
https://github.com/sjl/badwolf.git
synced 2025-11-08 11:03:48 -05:00
Merge.
This commit is contained in:
@@ -49,6 +49,15 @@ Determines whether text inside `a` tags in HTML files will be underlined.
|
|||||||
|
|
||||||
Default: `1` (on)
|
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
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ if !exists("g:badwolf_html_link_underline") " {{{
|
|||||||
let g:badwolf_html_link_underline = 1
|
let g:badwolf_html_link_underline = 1
|
||||||
endif " }}}
|
endif " }}}
|
||||||
|
|
||||||
|
if !exists("g:badwolf_css_props_highlight") " {{{
|
||||||
|
let g:badwolf_css_props_highlight = 0
|
||||||
|
endif " }}}
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Palette {{{
|
" Palette {{{
|
||||||
|
|
||||||
@@ -397,11 +401,19 @@ call s:HL('clojureAnonArg', 'snow', '', 'bold')
|
|||||||
" }}}
|
" }}}
|
||||||
" CSS {{{
|
" CSS {{{
|
||||||
|
|
||||||
call s:HL('cssColorProp', 'fg', '', 'none')
|
if g:badwolf_css_props_highlight
|
||||||
call s:HL('cssBoxProp', 'fg', '', 'none')
|
call s:HL('cssColorProp', 'dirtyblonde', '', 'none')
|
||||||
call s:HL('cssTextProp', 'fg', '', 'none')
|
call s:HL('cssBoxProp', 'dirtyblonde', '', 'none')
|
||||||
call s:HL('cssRenderProp', 'fg', '', 'none')
|
call s:HL('cssTextProp', 'dirtyblonde', '', 'none')
|
||||||
call s:HL('cssGeneratedContentProp', 'fg', '', '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('cssValueLength', 'toffee', '', 'bold')
|
||||||
call s:HL('cssColor', 'toffee', '', 'bold')
|
call s:HL('cssColor', 'toffee', '', 'bold')
|
||||||
|
|||||||
Reference in New Issue
Block a user