PDA

View Full Version : ZScript 3.5 - Syntax highlighting for VI and GVIM



toddp
09-30-09, 09:17 AM
I couldn't find a syntax file for VI, so I made one.

zscript_syntax.jpg (http://javascript%3Cb%3E%3C/b%3E:zb_insimg%28%27160492%27,%27zscript_syntax.jp g%27,1,0%29)

It has all of the latest commands, arranged in groupings similar to the wiki page. The image shows most of the syntax highlights.

In order to see anything in VI or GVIM, you will need to add a zscript line to your "synmenu.vim" file. Something similar to this:


an 50.120.410 &Syntax.WXYZ.zScript :cal SetSyn("zscript")<CR>



-Todd

marcus_civis
09-30-09, 10:38 AM
Welcome to ZBC and many thanks for sharing this. Great to have a new zscripter around too.

Cheers,

Darukin
09-30-09, 01:28 PM
Thanks for that ! And welcome!

dustbin1_uk
09-30-09, 02:05 PM
nice! well done!

toddp
09-30-09, 05:28 PM
Thanks everyone. Maybe there are a few developers left who use VI. Just sending the beacon out into space.