File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,12 @@ of constants when set."
201
201
:tag " PHP Mode Lineup Cascaded Calls"
202
202
:type 'boolean )
203
203
204
+ (defcustom php-mode-page-delimiter
205
+ (eval-when-compile (rx symbol-start (or " namespace" " function" " class" " trait" " interface" ) symbol-end))
206
+ " Regexp describing line-beginnings that PHP declaration statements."
207
+ :group 'php-mode
208
+ :tag " PHP Mode Page Delimiter"
209
+ :type 'regexp )
204
210
205
211
(define-obsolete-variable-alias 'php-extra-constants 'php-mode-extra-constants " 1.20.0" )
206
212
(defcustom php-mode-extra-constants '()
@@ -1067,6 +1073,7 @@ After setting the stylevars run hooks according to STYLENAME
1067
1073
(: " /*" )))
1068
1074
(* (syntax whitespace)))))
1069
1075
(setq-local comment-end " " )
1076
+ (setq-local page-delimiter php-mode-page-delimiter)
1070
1077
1071
1078
(setq-local font-lock-string-face 'php-string )
1072
1079
(setq-local font-lock-keyword-face 'php-keyword )
You can’t perform that action at this time.
0 commit comments