diff --git a/colors/dracula.vim b/colors/dracula.vim index 7990dfa..a99c864 100644 --- a/colors/dracula.vim +++ b/colors/dracula.vim @@ -95,6 +95,10 @@ if !exists('g:dracula_inverse') let g:dracula_inverse = 1 endif +if !exists('g:dracula_colorterm') + let g:dracula_colorterm = 1 +endif + "}}}2 " Script Helpers: {{{2 @@ -201,8 +205,8 @@ call s:h('DraculaDiffDelete', s:red, s:bgdark) " Core: {{{2 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 VisualNOS Visual hi! link Search DraculaSearch diff --git a/doc/dracula.txt b/doc/dracula.txt index b4f6ea3..6b71d50 100644 --- a/doc/dracula.txt +++ b/doc/dracula.txt @@ -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* |\ ,, ~ @@ -72,7 +72,11 @@ Include undercurl attributes in highlighting (only if underline enabled) > * *g:dracula_inverse* Include inverse attributes in highlighting > let g:dracula_inverse = 1 -< + +* *g:dracula_colorterm* +Include background fill colors > + let g:dracula_colorterm = 1 + ============================================================================== CUSTOMIZATION *dracula-customization*