Comment #1 on issue 284 by [email protected]: vimNumber pattern in vim syntax to aggressive
https://code.google.com/p/vim/issues/detail?id=284

The problem is this line in $VIMRUNTIME/syntax/vim.vim:
  syn match vimNumber   "#\x\{6}"

Seems like it's intended to match hex color codes for HTML/CSS. Adding \b after it would help it to not match so broadly. Also, "#\x\{3}" would be just as valid, unless that was intentionally omitted because short matches have a higher chance of false positives.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui