mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
updated the .emacs example
This commit is contained in:
parent
dd9792bfae
commit
67212de780
1 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,10 @@ need to ensure that it is called when you are editing php files):
|
|||
(setq tab-width 4
|
||||
c-basic-offset 4
|
||||
c-hanging-comment-ender-p nil
|
||||
indent-tabs-mode nil))
|
||||
indent-tabs-mode
|
||||
(not
|
||||
(and (string-match "/\\(PEAR\\|pear\\)/" (buffer-file-name))
|
||||
(string-match "\.php$" (buffer-file-name))))))
|
||||
|
||||
Here are vim rules for the same thing:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue