From 9500f225b823c548b176730679d196e1bda65d01 Mon Sep 17 00:00:00 2001 From: Pengcheng Chen Date: Sat, 8 Jul 2023 22:44:29 -0700 Subject: [PATCH] fix color NONE --- plugin/fzf.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index ac7e169e332..e9f93bca0d9 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -350,6 +350,8 @@ function! s:get_color(attr, ...) let code = synIDattr(synIDtrans(hlID(group)), a:attr, fam) if code =~? pat return code + elseif code == '' + return -1 endif endfor return ''