emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/phps-mode e38794b0 197/405: More conceptual work on alg


From: Stefan Monnier
Subject: [elpa] externals/phps-mode e38794b0 197/405: More conceptual work on algorithm for inline control structures
Date: Sat, 13 Jul 2019 10:00:12 -0400 (EDT)

branch: externals/phps-mode
commit e38794b0bd51639c55eb5d4fc3cd3c1bf4b08c26
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    More conceptual work on algorithm for inline control structures
---
 docs/indentation-algorithm.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/indentation-algorithm.md b/docs/indentation-algorithm.md
index 89147ea..2a4dba8 100644
--- a/docs/indentation-algorithm.md
+++ b/docs/indentation-algorithm.md
@@ -55,10 +55,10 @@ if (function(               // #save indent: 0, #increase 
push (0 2) indent: 1
 ## Inline control structure for if-else
 
 ```php
-if (true)
-    echo true;
-else
-    echo false;
+if (true)                      // #save indent: 0
+    echo true;         // #pre-temp-increase indent: 1, #save indent: 1, 
#pre-temp-decrease indent: 0
+else                           // #save indent: 0
+    echo false;        // #pre-temp-increase indent: 1, #save indent: 1, 
#pre-temp-decrease indent: 0
 ```
 
 ## Alternative control structure for if-else 2



reply via email to

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