gko / vim-coloresque

css/less/sass/html color preview for vim
352 stars 63 forks source link

Do not trigger on CSS property names. #7

Closed dubgeiser closed 11 years ago

dubgeiser commented 11 years ago

For instance:

white-space: nowrap;

will highlight 'white'

miripiruni commented 11 years ago

+1

mwcz commented 11 years ago

+1

mwcz commented 11 years ago

Looks especially funny within this ultisnips snippet definition:

image

:)

gko commented 11 years ago

agree, I'll correct that.

gko commented 11 years ago

Hi everyone,

I fixed the bug. Can please check as well and update the ticket if the bug is still there.

mwcz commented 11 years ago

Looks good to me!

gorodinskiy++

mwcz commented 11 years ago

It still colors these words inside UltiSnips snippet file. I would consider this a VERY minor issue though and not worth fixing. It doesn't bother me.

image

gko commented 11 years ago

This is cause the plugin highlights colors in vim files. It was requested here. I can disable named colors for vim files.

mwcz commented 11 years ago

It really doesn't bother me at all. I just wanted to mention it in case it was useful information. :)