Permalink
Browse files

Backward compatibility for old Neovim releases (#32)

  • Loading branch information...
1 parent e93c801 commit 106fb5749d227a0de72e36068ed72798c6fd48e6 @ninrod ninrod committed with Jun 23, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/limelight.vim
@@ -139,7 +139,7 @@ function! s:dim(coeff)
let fg = synIDattr(synid, 'fg#')
let bg = synIDattr(synid, 'bg#')
- if has('gui_running') || has('termguicolors') && &termguicolors
+ if has('gui_running') || has('termguicolors') && &termguicolors || has('nvim') && $NVIM_TUI_ENABLE_TRUE_COLOR
if a:coeff < 0 && exists('g:limelight_conceal_guifg')
let dim = g:limelight_conceal_guifg
elseif empty(fg) || empty(bg)

0 comments on commit 106fb57

Please sign in to comment.