add "dracula_colorterm" flag to allow disabling of background fill color. #65

This commit is contained in:
Derek P Sifford 2018-04-02 19:26:20 -04:00
parent 0835e3a78e
commit 52d955afdc
2 changed files with 11 additions and 3 deletions

View file

@ -95,6 +95,10 @@ if !exists('g:dracula_inverse')
let g:dracula_inverse = 1 let g:dracula_inverse = 1
endif endif
if !exists('g:dracula_colorterm')
let g:dracula_colorterm = 1
endif
"}}}2 "}}}2
" Script Helpers: {{{2 " Script Helpers: {{{2
@ -201,8 +205,8 @@ call s:h('DraculaDiffDelete', s:red, s:bgdark)
" Core: {{{2 " Core: {{{2
set background=dark set background=dark
call s:h('Normal', s:fg, g:dracula_colorterm == 1 ? s:bg : s:none)
call s:h('Normal', s:fg, s:bg)
hi! link Visual DraculaSelection hi! link Visual DraculaSelection
hi! link VisualNOS Visual hi! link VisualNOS Visual
hi! link Search DraculaSearch hi! link Search DraculaSearch

View file

@ -1,4 +1,4 @@
*dracula.txt* For Vim version 8 Last change: 2018 March 27 *dracula.txt* For Vim version 8 Last change: 2018 April 02
*dracula* *vim-dracula* *dracula* *vim-dracula*
|\ ,, ~ |\ ,, ~
@ -72,7 +72,11 @@ Include undercurl attributes in highlighting (only if underline enabled) >
* *g:dracula_inverse* * *g:dracula_inverse*
Include inverse attributes in highlighting > Include inverse attributes in highlighting >
let g:dracula_inverse = 1 let g:dracula_inverse = 1
<
* *g:dracula_colorterm*
Include background fill colors >
let g:dracula_colorterm = 1
============================================================================== ==============================================================================
CUSTOMIZATION *dracula-customization* CUSTOMIZATION *dracula-customization*