File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1127,7 +1127,6 @@ After setting the stylevars run hooks according to STYLENAME
11271127 (modify-syntax-entry ?_ " _" table)
11281128 (modify-syntax-entry ?` " \" " table)
11291129 (modify-syntax-entry ?\" " \" " table)
1130- (modify-syntax-entry ?# " < b" table)
11311130 (modify-syntax-entry ?\n " > b" table)
11321131 (modify-syntax-entry ?$ " _" table)
11331132 table))
@@ -1181,6 +1180,9 @@ After setting the stylevars run hooks according to STYLENAME
11811180 ; ; PHP vars are case-sensitive
11821181 (setq case-fold-search t )
11831182
1183+ (when php-mode-use-php7-syntax-table
1184+ (modify-syntax-entry ?# " < b" php-mode-syntax-table))
1185+
11841186 (when php-mode-enable-project-local-variable
11851187 (add-hook 'hack-local-variables-hook #'php-mode-set-local-variable-delay t t ))
11861188
You can’t perform that action at this time.
0 commit comments