-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix indentation bug when using implements/extends
Correct indentation and highlighting of lines below a <?php is tricky because that construct is inherently not c-like syntax. Summary of the solution applied in this php-mode: * recognize opening tags as preprocessor macros using c-opt-cpp-*, this fixes indentation of lines below * use additional regexp in f-l-keywords to also highlight possible closing tag (common in PEAR style code) * use regexp to work around highlighting glitch, instead of using c-type-prefix-kwds because that opens up range of other problems Added more inline documentation about the custom font-lock expressions and the handling of open tags.
- Loading branch information
1 parent
0cd7b00
commit ec4c166
Showing
1 changed file
with
50 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters