File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 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."
201201 :tag " PHP Mode Lineup Cascaded Calls"
202202 :type 'boolean )
203203
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 )
204210
205211(define-obsolete-variable-alias 'php-extra-constants 'php-mode-extra-constants " 1.20.0" )
206212(defcustom php-mode-extra-constants '()
@@ -1067,6 +1073,7 @@ After setting the stylevars run hooks according to STYLENAME
10671073 (: " /*" )))
10681074 (* (syntax whitespace)))))
10691075 (setq-local comment-end " " )
1076+ (setq-local page-delimiter php-mode-page-delimiter)
10701077
10711078 (setq-local font-lock-string-face 'php-string )
10721079 (setq-local font-lock-keyword-face 'php-keyword )
You can’t perform that action at this time.
0 commit comments