11 Commits

Author SHA1 Message Date
Steve Losh
211335c4b6 Add autocommands to fix up a bit of Tex syntax. 2012-09-10 12:41:43 -04:00
Steve Losh
f2ee2b3aeb Merge. 2012-09-10 12:39:28 -04:00
Giovanni Lanzani
5b2e5a8417 remove Delimiter, add texMathZone{V,X} 2012-09-10 11:02:02 +02:00
Giovanni Lanzani
33442485f5 some tweakes to the LaTeX colors 2012-08-13 11:18:04 +02:00
Giovanni Lanzani
7e3e2124c4 change delimiter to orange 2012-08-13 10:56:58 +02:00
Philip Stewart
d9b2769210 Force background on SpellBad 2012-08-12 03:08:24 +03:00
Giovanni Lanzani
61f9da7dc0 LaTeX support added 2012-08-02 22:56:46 +02:00
Steve Losh
03ac89e057 Merge. 2012-06-02 17:12:25 -04:00
Steve Losh
39d5612352 Include contrib in package. 2012-06-01 10:37:52 -04:00
Steve Losh
ef7257cb4c Added tag v1.3.0 for changeset 4e6ee97af8b0 2012-06-01 09:45:22 -04:00
Thomas Pelletier
efe9eada33 Add an option to highlight CSS properties. 2012-04-16 09:47:12 +02:00
4 changed files with 56 additions and 7 deletions

View File

@@ -3,3 +3,4 @@
2804e4d33d917aa2251b6d33709d17223fd5e5d0 v1.1.1 2804e4d33d917aa2251b6d33709d17223fd5e5d0 v1.1.1
599ba7563aa4251e5f51c3e00ed8c993fe1426c5 v1.1.2 599ba7563aa4251e5f51c3e00ed8c993fe1426c5 v1.1.2
8c3583c971acda5cb4f034dbe643e5a9315db63b v1.2.0 8c3583c971acda5cb4f034dbe643e5a9315db63b v1.2.0
4e6ee97af8b02741af86dcb2eb3f0f4dbbcc9761 v1.3.0

View File

@@ -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
------------ ------------

View File

@@ -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 {{{
@@ -296,7 +300,7 @@ call s:HL('DiffText', 'snow', 'deepergravel', 'bold')
if has("spell") if has("spell")
call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale') call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
call s:HL('SpellBad', '', '', 'undercurl', 'dalespale') call s:HL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale') call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale')
call s:HL('SpellRare', '', '', 'undercurl', 'dalespale') call s:HL('SpellRare', '', '', 'undercurl', 'dalespale')
endif endif
@@ -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')
@@ -463,6 +475,33 @@ call s:HL('javaCommentTitle', 'gravel', '')
call s:HL('javaDocTags', 'snow', '', 'none') call s:HL('javaDocTags', 'snow', '', 'none')
call s:HL('javaDocParam', 'dalespale', '', '') call s:HL('javaDocParam', 'dalespale', '', '')
" }}}
" LaTeX {{{
call s:HL('texStatement', 'tardis', '', 'none')
call s:HL('texMathZoneX', 'orange', '', 'none')
call s:HL('texMathZoneA', 'orange', '', 'none')
call s:HL('texMathZoneB', 'orange', '', 'none')
call s:HL('texMathZoneC', 'orange', '', 'none')
call s:HL('texMathZoneD', 'orange', '', 'none')
call s:HL('texMathZoneE', 'orange', '', 'none')
call s:HL('texMathZoneV', 'orange', '', 'none')
call s:HL('texMathZoneX', 'orange', '', 'none')
call s:HL('texMath', 'orange', '', 'none')
call s:HL('texMathMatcher', 'orange', '', 'none')
call s:HL('texRefLabel', 'dirtyblonde', '', 'none')
call s:HL('texRefZone', 'lime', '', 'none')
call s:HL('texComment', 'darkroast', '', 'none')
call s:HL('texDelimiter', 'orange', '', 'none')
call s:HL('texZone', 'brightgravel', '', 'none')
augroup badwolf_tex
au!
au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
augroup END
" }}} " }}}
" LessCSS {{{ " LessCSS {{{

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
hg archive ~/Desktop/badwolf.zip -I 'colors' -I README.markdown hg archive ~/Desktop/badwolf.zip -I 'colors' -I README.markdown -I 'contrib'