File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -475,21 +475,23 @@ this.REG_CMP_HANDLER = {
475475 end
476476 end
477477 },
478- -- {
479- -- -- highlight colors name
480- -- patterns = {
481- -- "^hi%s.*gui[fb]g=$",
482- -- "^highlight%s.*gui[fb]g=$"
483- -- },
484- -- get_cmp_items = function()
485- -- if this.insearch() then
486- -- return this.get_normal_search_cmp()
487- -- else
488- -- local colors = this.native_colors
489- -- return colors
490- -- end
491- -- end
492- -- },
478+ {
479+ -- highlight colors name
480+ pattern = {
481+ " ^hi%s.*gui[fb]g=$" ,
482+ " ^hi%s.*gui[fb]g=%w+$" ,
483+ " ^highlight%s.*gui[fb]g=$" ,
484+ " ^highlight%s.*gui[fb]g=%w+$" ,
485+ },
486+ get_cmp_items = function ()
487+ if this .insearch () then
488+ return this .get_normal_search_cmp ()
489+ else
490+ local colors = this .native_colors
491+ return colors
492+ end
493+ end
494+ },
493495 {
494496 -- highlight color groups
495497 pattern = {
You can’t perform that action at this time.
0 commit comments