branch: elpa/dockerfile-mode
commit 5af2702b00053ddc6c00c4f409140a863af364d8
Author: Matus Goljer <[email protected]>
Commit: Drew Csillag <[email protected]>
feat: allow multiple spaces for alignment of aliases
---
dockerfile-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index 88f905a02b1..383841a18b6 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -110,7 +110,7 @@ It is supported from docker 18.09"
"Face to highlight the base image alias inf FROM ... AS <alias> construct.")
(defconst dockerfile--from-regex
- (rx "from " (group (+? nonl)) (or " " eol) (? "as " (group (1+ nonl)))))
+ (rx "from " (group (+? nonl)) (or (1+ " ") eol) (? "as " (group (1+ nonl)))))
(defvar dockerfile-font-lock-keywords
`(,(cons (rx (or line-start "onbuild ")