We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3aeebe commit 5383198Copy full SHA for 5383198
php-mode.el
@@ -1010,6 +1010,15 @@ After setting the stylevars run hooks according to STYLENAME
1010
(c-init-language-vars php-mode)
1011
(c-common-init 'php-mode)
1012
1013
+ (setq-local comment-start "// ")
1014
+ (setq-local comment-start-skip
1015
+ (eval-when-compile
1016
+ (rx (group (or (: "#")
1017
+ (: "/" (+ "/"))
1018
+ (: "/*")))
1019
+ (* (syntax whitespace)))))
1020
+ (setq-local comment-end "")
1021
+
1022
(setq-local font-lock-string-face 'php-string)
1023
(setq-local font-lock-keyword-face 'php-keyword)
1024
(setq-local font-lock-builtin-face 'php-builtin)
0 commit comments