branch: elpa/dockerfile-mode
commit 7223d92718f78fa3ab15667cdb2ed90cfeb579e7
Author: Terje Larsen <ter...@gmail.com>
Commit: Drew Csillag <d...@thecsillags.com>

    Support indentation for comments
---
 dockerfile-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index c338ae78a8..9c9f61ec7e 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -120,8 +120,8 @@ Each element of the list will be passed as a separate
 
 Lines beginning with a keyword are ignored, and any others are
 indented by one `tab-width'."
-  (unless (eq (get-text-property (point-at-bol) 'face)
-              'font-lock-keyword-face)
+  (unless (member (get-text-property (point-at-bol) 'face)
+                  '(font-lock-comment-delimiter-face font-lock-keyword-face))
     (save-excursion
       (beginning-of-line)
       (skip-chars-forward "[ \t]" (point-at-eol))

Reply via email to