I am very fond of the Vim text editor and will use it, out of preference, whenever possible. This includes writing RPG (and, obviously, RPGLE) programs on the IBM i. The only downside here is that, while Vim supports syntax highlighting for a multitude of languages, RPG isn’t one of them.

For a long time, I have relied on the syntax files written by Martin Rowe back in 2014. These, however, are getting more than a little long in the tooth. So, since I have a little time on my hands, I have started putting together a new set of syntax files which, hopefully, will be able to keep up with any new developments.

It’s all very early days so far, but you can find the Vim RPG Syntax highlighter here.

Feel free to download it and use it. And if you have any improvements to make or suggest, I would love to hear from you.

Categories: Notes

1 Comment

Editing CL source members with Vim – LS Consulting · 27th November 2017 at 11:24 am

[…] in October I mentioned that I had started assembling a set of Vim syntax files, starting with RPG. I have now added the […]

Leave a Reply

Your email address will not be published. Required fields are marked *