From 5ea6eb700abea99e53c2ae69901c7c141321d0f0 Mon Sep 17 00:00:00 2001 From: lijing00333 Date: Thu, 11 Jan 2024 21:27:23 +0800 Subject: [PATCH] bugfix --- autoload/easycomplete/ui.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/easycomplete/ui.vim b/autoload/easycomplete/ui.vim index e003c57..ba1c557 100644 --- a/autoload/easycomplete/ui.vim +++ b/autoload/easycomplete/ui.vim @@ -63,7 +63,7 @@ function! easycomplete#ui#GetHiColor(hiName, sufix) if empty(hlString) | return my_color | endif if easycomplete#util#IsGui() " Gui color name - let my_color = matchstr(hlString,"\\(\\sgui" . sufix . "=\\)\\@<=#\\w\\+") + let my_color = matchstr(hlString,"\\(\\sgui" . sufix . "=\\)\\@<=#\\{-}\\w\\+") if empty(my_color) let linksGroup = matchstr(hlString, "\\(links\\sto\\s\\+\\)\\@<=\\w\\+") if !empty(linksGroup)