Hallo:-) I want to edit world files in vim with my syntax highlighting. For example, i have obj file: (it is standard obj file, I added bugs for testing) ----------------------------------------------- #2593 99 key grey metal~ as~ 19 cdq 16385 2593 0 0 0 #2592 green scale shirt~ cp~ 9 g 9 10 0 0 0 A 2 3 #2592 green scale shirt~ ~ 9 30 9 10 0 0 0 E green scale shirt~ this Green dragon scale shirt. ~ # --------------------------------------------------- and i want highlight (in every object) lines with '~ and numbers' for example: ~ 9 g 9 10 0 0 0 I tried: syn region cmMy1 start="\~$^[0-9]\+" end="^#"me=e-1 end="^[AE]$"me=e-1 , but it's not good RE in start. (i don't know, how to join $-endofline and ^-newline. RE with "\~$" works and "^[0-9]\+" works too, but I need test ~ and then number on next line) Can You help me? Thank You VladoN:[http|telnet]://dmud.fandom.sk[:4000];-) This email has been swept by MIMEsweeper for the presence of computer viruses. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT