Hi Vim users/devs :)

I found a possible small bug in the CSS syntax file.

Problem:
    When changing the iskeyword option then syntax highlighting will go wrong.

Steps to reproduce:
   When I was tweaking my .vimrc I set

       setlocal iskeyword+=-

   for CSS files only. (I did this to be able to select properties
like "background-color" in one go as a word.)
   This caused it to display the Type in a different colour, but only
for font-* properties, not for
   background-* or border-* ones strangely enough.

Fix:
    See attachment (patch).
    Patch is against latest SVN checkout (revision 1024).


Disclaimer: this is my first post to the vim-dev maillist, sorry if I
forgot to mention anything, please
                 do tell though.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: css.vim.patch
Description: Binary data

Raspunde prin e-mail lui