Post by B. R. 'BeAr' EdersonPost by Janis PapanagnouAre there any syntax definition files for the Vim text editor
to syntactically colorize the NH dungeon definition files?
I noticed that for the 'dungeon.def' file a syntax setting of
'sh' (shell) syntax gives a very good result already.
But is there something for all the '*.dat' files?
(Sorry, I meant the *.des files.)
Post by B. R. 'BeAr' EdersonTry ActionScript. Comments, numbers and text should show up reasonably
differentiated. And "random" and "align" being common methods/properties
in ActionScript they show highlighted up as well. As will true/false.
Thanks for your reply!
I assume "ActionScript" is the name I shall choose for the syntax?
Unfortunately it produces nothing for me; only black/white. Its
name is also not listed in my list of available syntax files.
Anyway, I have to apologize for my post...
The *.des files are already sufficiently colorized as I noticed;
not sure what went wrong when I tried it before. It's about the
same quality as dungeon.def with 'sh' syntax set. That means it's
not differentiated at monsters and objects level but readable. I
can see strings, character constants, and comments differentiated,
and the rest as plain text. That's okay for me for now.
(I suppose it's not too difficult to write a specialized one for
NH but I think it's probably not worth the effort.)
Janis