Merge pull request #292 from etorth/master
This commit is contained in:
commit
06ac6aa960
2 changed files with 15 additions and 1 deletions
|
@ -97,6 +97,10 @@ if !exists('g:dracula_colorterm')
|
|||
let g:dracula_colorterm = 1
|
||||
endif
|
||||
|
||||
if !exists('g:dracula_high_contrast_diff')
|
||||
let g:dracula_high_contrast_diff = 0
|
||||
endif
|
||||
|
||||
"}}}2
|
||||
" Script Helpers: {{{2
|
||||
|
||||
|
@ -197,7 +201,12 @@ call s:h('DraculaBoundary', s:comment, s:bgdark)
|
|||
call s:h('DraculaWinSeparator', s:comment, s:bgdark)
|
||||
call s:h('DraculaLink', s:cyan, s:none, [s:attrs.underline])
|
||||
|
||||
call s:h('DraculaDiffChange', s:orange, s:none)
|
||||
if g:dracula_high_contrast_diff
|
||||
call s:h('DraculaDiffChange', s:red, s:green)
|
||||
else
|
||||
call s:h('DraculaDiffChange', s:orange, s:none)
|
||||
endif
|
||||
|
||||
call s:h('DraculaDiffText', s:bg, s:orange)
|
||||
call s:h('DraculaDiffDelete', s:red, s:bgdark)
|
||||
|
||||
|
|
|
@ -93,6 +93,11 @@ terminal emulators, set to 1 to allow underline/undercurl highlights without
|
|||
changing the foreground color. >
|
||||
let g:dracula_full_special_attrs_support = 1
|
||||
|
||||
* *g:dracula_high_contrast_diff*
|
||||
Use high-contrast color when in diff mode. By default it is disabled, set to
|
||||
1 to enable it.
|
||||
let g:dracula_high_contrast_diff = 1
|
||||
|
||||
* *g:dracula_inverse*
|
||||
Include inverse attributes in highlighting >
|
||||
let g:dracula_inverse = 1
|
||||
|
|
Loading…
Reference in a new issue