On 9/11/06, Mark Manning <[EMAIL PROTECTED]> wrote:
I saw in the c.vim that there was an error statement for octal numbers.
There isn't one for hex numbers so I made one really quickly. If you
want, just put it into the c.vim file. :-)
The test:
syn region cHexError start="0x\x*[g-zG-Z]" end="\W"
The highlight command:
hi link cHexError cError
Of course, this needs to be approved by Bram first though. :-)
Good idea. But then, why not to add error syntax for decimal numbers ?
I think it is also not present.
Yakov