bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53568: Keyword "setx" in `bat-mode`


From: Arni Magnusson
Subject: bug#53568: Keyword "setx" in `bat-mode`
Date: Thu, 27 Jan 2022 15:17:48 +1100

Hi,

As the author of bat-mode, I'd like to suggest adding syntax highlighting support for the 'setx' command and the subsequent variable name.

Working from bat-mode.el in the current git repository, I added "setx" to the list of commands and also tweaked the matcher for `font-lock-variable-name-face`. See the attached patch.

To see the improved syntax highlighting, this example code can be used:

xcopy sty c:\home\latex\sty\spc /s /y
setx TEXINPUTS .\\;c:\home\latex\\;
echo Installation completed

Cheers,
Arni


Attachment: bat-mode.el.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]