mirror of
https://github.com/junegunn/limelight.vim.git
synced 2025-11-13 21:43:48 -05:00
Fix #30 - Add support for termguicolors
This commit is contained in:
@@ -139,7 +139,7 @@ function! s:dim(coeff)
|
|||||||
let fg = synIDattr(synid, 'fg#')
|
let fg = synIDattr(synid, 'fg#')
|
||||||
let bg = synIDattr(synid, 'bg#')
|
let bg = synIDattr(synid, 'bg#')
|
||||||
|
|
||||||
if has('gui_running') || has('nvim') && $NVIM_TUI_ENABLE_TRUE_COLOR
|
if has('gui_running') || has('termguicolors') && &termguicolors
|
||||||
if a:coeff < 0 && exists('g:limelight_conceal_guifg')
|
if a:coeff < 0 && exists('g:limelight_conceal_guifg')
|
||||||
let dim = g:limelight_conceal_guifg
|
let dim = g:limelight_conceal_guifg
|
||||||
elseif empty(fg) || empty(bg)
|
elseif empty(fg) || empty(bg)
|
||||||
|
|||||||
Reference in New Issue
Block a user