[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 519888fe79 150/212: Added another failing ind
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 519888fe79 150/212: Added another failing indent test |
Date: |
Wed, 26 Jan 2022 01:51:17 -0500 (EST) |
branch: externals/phps-mode
commit 519888fe790729c129d4493841c3f5899549dd33
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added another failing indent test
---
phps-mode-indent.el | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/phps-mode-indent.el b/phps-mode-indent.el
index a0eb6b5ae8..f5536a0f88 100644
--- a/phps-mode-indent.el
+++ b/phps-mode-indent.el
@@ -244,14 +244,15 @@
previous-indentation)
;; debug stuff
- ;; (message "\ncurrent-line-string: %S" current-line-string)
- ;; (message "previous-line-string: %S" previous-line-string)
- ;; (message "current-line-starts-with-closing-bracket: %S"
current-line-starts-with-closing-bracket)
- ;; (message "current-line-starts-with-opening-bracket: %S"
current-line-starts-with-opening-bracket)
- ;; (message "previous-line-ends-with-opening-bracket: %S"
previous-line-ends-with-opening-bracket)
- ;; (message "previous-line-ends-with-terminus: %S"
previous-line-ends-with-terminus)
- ;; (message "previous-bracket-level: %S" previous-bracket-level)
- ;; (message "previous-indentation: %S" previous-indentation)
+ (message "\ncurrent-line-string: %S" current-line-string)
+ (message "previous-line-string: %S" previous-line-string)
+
+ (message "current-line-starts-with-closing-bracket: %S"
current-line-starts-with-closing-bracket)
+ (message "current-line-starts-with-opening-bracket: %S"
current-line-starts-with-opening-bracket)
+ (message "previous-line-ends-with-opening-bracket: %S"
previous-line-ends-with-opening-bracket)
+ (message "previous-line-ends-with-terminus: %S"
previous-line-ends-with-terminus)
+ (message "previous-bracket-level: %S" previous-bracket-level)
+ (message "previous-indentation: %S" previous-indentation)
;; Case by case logic below - most specific to most general
@@ -1044,6 +1045,13 @@
;; [
;; 2,
;; 3,
+ ;; or TODO
+ ;; return array(
+ ;; '' => __(
+ ;; 'None',
+ ;; 'domain'
+ ;; ),
+ ;; '-' =>
((and
previous-line-ends-with-terminus
(string= previous-line-ends-with-terminus ","))
- [elpa] externals/phps-mode b4bf3caeb3 118/212: Added TODO note, (continued)
- [elpa] externals/phps-mode b4bf3caeb3 118/212: Added TODO note, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode b9956e278f 120/212: Indent support for closing bracket after closing multi-line assignment, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 4b4a821e6e 115/212: Started refactor of indent code, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 20ad1fae08 132/212: Improved indentation arround multi-line object operators, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 5f09905a1a 126/212: Fixed issue with bookkeeping and imenu not being stored, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode dc361309e0 124/212: Passing all indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a62e6be40e 133/212: Fixed indentation on line after print_r, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 5391551287 143/212: Added a new indent test and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode ffda8f1b5c 128/212: Added TODO item, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 2ef1168cb1 155/212: Added new failing indentation tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 519888fe79 150/212: Added another failing indent test,
Christian Johansson <=
- [elpa] externals/phps-mode 7ec071188a 137/212: Added more indent unit tests for nested function calls, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 837412c0e5 140/212: Improved indentation on lines starting with a closing bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode cdbcd5ebe6 154/212: Added a new failing indent test and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode c2a7af2a98 142/212: Updated copyright years, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 91fb5402cd 158/212: Added another failing indentation and made it pass, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 66d4352052 169/212: Added more failing indent tests, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 0ca0e447b8 167/212: Improved indentation on lines starting with a closing bracket, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode 18221a85f0 177/212: Added failing parse test for multiple swith case conditions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode a2c61b9e7c 174/212: Started refactoring of indentation functions, Christian Johansson, 2022/01/26
- [elpa] externals/phps-mode e15d602e46 179/212: More TODO items, Christian Johansson, 2022/01/26