mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-13 22:03:46 -05:00
Improve the readablity of strings.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -45,6 +45,10 @@ if !exists('g:gruvbox_italicize_strings')
|
|||||||
let g:gruvbox_italicize_strings=0
|
let g:gruvbox_italicize_strings=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if !exists('g:gruvbox_improved_strings')
|
||||||
|
let g:gruvbox_improved_strings=0
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists('g:gruvbox_termcolors')
|
if !exists('g:gruvbox_termcolors')
|
||||||
let g:gruvbox_termcolors=256
|
let g:gruvbox_termcolors=256
|
||||||
endif
|
endif
|
||||||
@@ -440,7 +444,12 @@ call s:HL('lCursor', 'none', 'none', 'inverse')
|
|||||||
" }}}
|
" }}}
|
||||||
" Syntax Highlighting: {{{
|
" Syntax Highlighting: {{{
|
||||||
|
|
||||||
|
if g:gruvbox_improved_strings == 0
|
||||||
call s:HL('Special', 'orange')
|
call s:HL('Special', 'orange')
|
||||||
|
else
|
||||||
|
call s:HL('Special', 'dark1', 'orange', 'italic')
|
||||||
|
endif
|
||||||
|
|
||||||
if g:gruvbox_italicize_comments == 0
|
if g:gruvbox_italicize_comments == 0
|
||||||
call s:HL('Comment', 'medium', 'none')
|
call s:HL('Comment', 'medium', 'none')
|
||||||
else
|
else
|
||||||
@@ -488,7 +497,11 @@ call s:HL('Character', 'purple')
|
|||||||
if g:gruvbox_italicize_strings == 0
|
if g:gruvbox_italicize_strings == 0
|
||||||
call s:HL('String', 'green')
|
call s:HL('String', 'green')
|
||||||
else
|
else
|
||||||
|
if g:gruvbox_improved_strings == 0
|
||||||
call s:HL('String', 'green', 'none', 'italic')
|
call s:HL('String', 'green', 'none', 'italic')
|
||||||
|
else
|
||||||
|
call s:HL('String', 'dark1', 'light1', 'italic')
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
" Boolean constant: TRUE, false
|
" Boolean constant: TRUE, false
|
||||||
call s:HL('Boolean', 'purple')
|
call s:HL('Boolean', 'purple')
|
||||||
|
|||||||
Reference in New Issue
Block a user