I use jEdit on multiple platforms as my prefered text editor, so I've made a mode config for nim:
https://github.com/exhu/nimrod-misc/tree/master/jedit
Any comments on wrong highlighting are welcome.