gu-fan / colorv.vim

edit color easy
http://www.vim.org/scripts/script.php?script_id=3597
135 stars 12 forks source link

ColorVview should check for # #8

Closed davidosomething closed 12 years ago

davidosomething commented 12 years ago

The following code has the word "embedded" in it. The "bedded" part gets highlighted by ColorVview even though it's not a color.

@font-face {
    font-family: 'BlockBertholdRegular';
    src: url('../assets/blockbe-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/blockbe-regular-webfont.svg#BlockBertholdRegular') format('svg');
}
gu-fan commented 12 years ago

fixed. Now fmt 'HEX' only match text all in Uppercase , like 'FFFFFF' will be matched while 'ffffff' will not. and will NOT match that in a word ,like 'aFFFFFF'

another fix is now fmt 'NAME' DON'T match the text like 'white-space' 'black_sheep'

And :ColorVview now renamed to :ColorVPreview, the :ColorVword is now :ColorVView