Skip to content

Commit 7f0cbc3

Browse files
committed
Add php-mode-use-php7-syntax-table for PHP7 compatible # syntax
1 parent f4c7c69 commit 7f0cbc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

php-mode.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,12 @@ In that case set to `NIL'."
318318
:tag "PHP Mode Enable Project Local Variable"
319319
:type 'boolean)
320320

321+
(defcustom php-mode-use-php7-syntax-table t
322+
"When set to `T', use a syntax table compatible with PHP 7."
323+
:group 'php-mode
324+
:tag "PHP Mode Enable Project Local Variable"
325+
:type 'boolean)
326+
321327
(defun php-mode-version ()
322328
"Display string describing the version of PHP Mode."
323329
(interactive)

0 commit comments

Comments
 (0)