DOS syntax script

Pavel Roskin proski at gnu.org
Tue Jun 25 01:08:52 UTC 2002


Hello!

> I am not sure how useful it might be for other people, but it helped me a
> bit to have a syntax highlighting for DOS .bat and .cmd files.

Yes, it may be useful.

> So if you are interrested, use the dos.syntax script in the attached tgz
> plus these two lines for Syntax file:
> ----------------------------
> file ..\*\\.(bat|cmd) $ DOS\sBatch
> include dos.syntax
> ----------------------------

The tradition is that unknown words are not highlighted, the keywords are
yellow, not white, and the comments are be brown.  Applied with those
changes.

-- 
Regards,
Pavel Roskin




More information about the mc-devel mailing list