Make g:dracula_undercurl init shorter and safer

Reference: https://github.com/dracula/vim/pull/213#discussion_r507804384
This commit is contained in:
d7xdev 2020-10-19 15:59:07 -04:00
parent 2d428a704c
commit fad0ba755c

View file

@ -82,11 +82,7 @@ if !exists('g:dracula_underline')
endif endif
if !exists('g:dracula_undercurl') if !exists('g:dracula_undercurl')
if g:dracula_underline == 0 let g:dracula_undercurl = g:dracula_underline
let g:dracula_undercurl = 0
else
let g:dracula_undercurl = 1
endif
endif endif
if !exists('g:dracula_inverse') if !exists('g:dracula_inverse')