Lines Matching refs:color
28 let color = "" variable
60 let n = 1 " n = color index
62 elseif n <= colors " string is a color specification
68 " now get color, first try 'c' key if any (color visual)
69 let color = substitute(s, '.*\sc\s\+\(.\{-}\)\s*\(\(g4\=\|[ms]\)\s.*\)*\s*', '\1', '') variable
70 if color == s
72 let color = substitute(s, '.*\sg\s\+\(.\{-}\)\s*\(\(g4\|[ms]\)\s.*\)*\s*', '\1', '') variable
73 if color == s
75 let color = substitute(s, '.*\sg4\s\+\(.\{-}\)\s*\([ms]\s.*\)*\s*', '\1', '') variable
76 if color == s
78 let color = substitute(s, '.*\sm\s\+\(.\{-}\)\s*\(s\s.*\)*\s*', '\1', '') variable
79 if color == s
80 let color = "" variable
87 if color =~ '#\x\{10,}$'
88 let color = substitute(color, '\(\x\x\)\x\x', '\1', 'g') variable
89 elseif color =~ '#\x\{7,}$'
90 let color = substitute(color, '\(\x\x\)\x', '\1', 'g') variable
92 elseif color =~ '#\x\{3}$'
93 let color = substitute(color, '\(\x\)\(\x\)\(\x\)', '0\10\20\3', '') variable
105 " highlight the color string as normal string (no pixel string)
109 " but highlight the first whitespace after chars in its color
120 " if no color or color = "None" show background
121 if color == "" || substitute(color, '.*', '\L&', '') == 'none'
123 elseif color !~ "'"
124 exe 'Hi xpm2Color'.n." guifg='".color."' guibg='".color."'"
128 break " no more color string
134 unlet color chars colors cpp n i s