From 513ed1ff50d159f2426fc9b14be13f12cc8e52bd Mon Sep 17 00:00:00 2001 From: Bastian Winkler Date: Tue, 12 Apr 2016 09:40:00 +0200 Subject: [PATCH] Make sure to use the cterm color attribute This should fix color selection with true-color enabled terminal neovim. --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index 1fb59cb..94fa7e1 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -58,7 +58,7 @@ endif function! s:get_color(attr, ...) for group in a:000 - let code = synIDattr(synIDtrans(hlID(group)), a:attr) + let code = synIDattr(synIDtrans(hlID(group)), a:attr, 'cterm') if code =~ '^[0-9]\+$' return code endif