This commit is contained in:
gingkapls
2024-05-05 00:21:50 +05:30
committed by GitHub

View File

@@ -138,6 +138,7 @@ function! s:dim(coeff)
let synid = synIDtrans(hlID('Normal')) let synid = synIDtrans(hlID('Normal'))
let fg = synIDattr(synid, 'fg#') let fg = synIDattr(synid, 'fg#')
let bg = synIDattr(synid, 'bg#') let bg = synIDattr(synid, 'bg#')
let bg = bg == 'none' ? bg : 0
if has('gui_running') || has('termguicolors') && &termguicolors || has('nvim') && $NVIM_TUI_ENABLE_TRUE_COLOR if has('gui_running') || has('termguicolors') && &termguicolors || has('nvim') && $NVIM_TUI_ENABLE_TRUE_COLOR
if a:coeff < 0 && exists('g:limelight_conceal_guifg') if a:coeff < 0 && exists('g:limelight_conceal_guifg')