]> git.eshelyaron.com Git - emacs.git/commit
Improve fontification of docker-files
authorJostein Kjønigsen <jostein@kjonigsen.net>
Fri, 21 Feb 2025 12:59:26 +0000 (13:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Feb 2025 08:21:15 +0000 (09:21 +0100)
commita0d3cd71820b4deb6894ab41c43d530651f724c5
tree188b5e90e253890bb656769ae9a2ab7cdf3141e1
parent703dfe92a070119bdf7a0b47c755853f429d0d1e
Improve fontification of docker-files

Add support for fontifying the following grammar-elements:
- image-declarations (image-name, image-tag & image alias)
- strings in more general terms
- string-expansion statements
- treat path-values as strings
- identifiers names for ENV and ARG statements
- argument values for ENV and ARG statements
* lisp/progmodes/dockerfile-ts-mode.el (dockerfile-ts-mode)
(dockerfile-ts-mode--font-lock-settings): Improve fontification.
(Bug#76481)

(cherry picked from commit 2044f6d9592cdec3a916c0d3c0a8a079c479db61)
lisp/progmodes/dockerfile-ts-mode.el