0
I suspect this has to do something with the C/C++ indenting php-mode indenting is based on, however the hash symbol in PHP just indicates a single-line comment and is not a reason to indent the next line. What can I do about this?
0
I suspect this has to do something with the C/C++ indenting php-mode indenting is based on, however the hash symbol in PHP just indicates a single-line comment and is not a reason to indent the next line. What can I do about this?
0
I solved this through altering php-mode-syntax-table via modify-syntax-entry:
(modify-syntax-entry ?# "< b" php-mode-syntax-table)
(modify-syntax-entry ?\n "> b" php-mode-syntax-table)