branch: externals/a68-mode
commit e9c0f7cac06357a63638e04957b284229b8585c0
Author: Jose E. Marchesi <jose.march...@oracle.com>
Commit: Jose E. Marchesi <jose.march...@oracle.com>

    Add indentation rule for THEN
    
    * a68-mode.el (a68-keywords):
---
 a68-mode.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/a68-mode.el b/a68-mode.el
index e2b09dfe76..9b378c8999 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -207,6 +207,10 @@
                      (smie-rule-prev-p ":"))
                 (smie-rule-parent-p "PROGRAM")))
        (smie-rule-parent)))
+    (`(:before . "THEN")
+     (when (or (smie-rule-hanging-p)
+               (smie-rule-parent-p "IF"))
+       (smie-rule-parent)))
     (`(:before . "(")
      (when (smie-rule-hanging-p)
        (smie-rule-parent)))

Reply via email to