Skip to content

Commit b4a0034

Browse files
committed
Fix spacing
1 parent f27474d commit b4a0034

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

php-mode.el

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ a completion list."
15501550
("\\(\\$\\)\\(this\\)\\>" (1 'php-$this-sigil) (2 'php-$this))
15511551
("\\(\\$+\\)\\(\\sw+\\)" (1 'php-variable-sigil) (2 'php-variable-name))
15521552
("\\(->\\)\\([a-zA-Z0-9_]+\\)" (1 'php-object-op) (2 'php-property-name))
1553-
1553+
15541554
;; Highlight function/method names
15551555
("\\<function\\s-+&?\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-*(" 1 'php-function-name)
15561556

@@ -1625,7 +1625,7 @@ a completion list."
16251625

16261626
;; Highlight class name after "use .. as"
16271627
("\\<as\\s-+\\(\\sw+\\)" 1 font-lock-type-face)
1628-
1628+
16291629
;; Class names are highlighted by cc-mode as defined in
16301630
;; c-class-decl-kwds, below regexp is a workaround for a bug
16311631
;; where the class names are not highlighted right after opening
@@ -1670,8 +1670,7 @@ a completion list."
16701670

16711671
;; Logical operators (and, or, &&, ...)
16721672
;; Not operator (!) is defined in "before cc-mode" section above.
1673-
("\\(&&\\|\|\|\\)" 1 'php-logical-op)
1674-
))
1673+
("\\(&&\\|||\\)" 1 'php-logical-op)))
16751674
"Detailed highlighting for PHP Mode.")
16761675

16771676
(defvar php-font-lock-keywords php-font-lock-keywords-3

0 commit comments

Comments
 (0)