Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

VIM syntax highlight improvement #15722

Open Quuxplusone opened 11 years ago

Quuxplusone commented 11 years ago
Bugzilla Link PR15722
Status NEW
Importance P enhancement
Reported by Christian-W. Budde (Christian@savioursofsoul.de)
Reported on 2013-04-11 08:48:03 -0700
Last modified on 2013-04-15 19:05:52 -0700
Version trunk
Hardware PC Windows XP
CC Christian@savioursofsoul.de, dblaikie@gmail.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
I'm by no means an expert of VIM syntax highlighting, but I was using this file
as a reference for my own syntax highlighting code. So excuse me if I'm wrong
here.

in line 67 of the llvm.vim script it is written:

syn match   llvmFloat  /\<0x\x\+\>/

but it should probably be like this:

syn match   llvmHex  /\<0x\x\+\>/

with an additional

  HiLink llvmHex Number
Quuxplusone commented 11 years ago

patches are best sent to the llvm-commits mailing list. They can be easily lost when only filed in the bug database.