From f974790e798d4862cc9dedb45b65ef567307db88 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 25 Aug 2012 12:49:12 +0300 Subject: [PATCH] Refine php+-mode customizations a bit, including 2 space indents --- mode-customizations/php+-mode.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mode-customizations/php+-mode.el b/mode-customizations/php+-mode.el index e6be759..c63b5b7 100644 --- a/mode-customizations/php+-mode.el +++ b/mode-customizations/php+-mode.el @@ -7,6 +7,10 @@ (linum-mode t) (fci-mode) (auto-complete-mode) - (highlight-indentation-mode)) + (setq php-basic-offset 2) + (setq tab-width 2) + (setq highlight-indentation-offset 2) + (highlight-indentation-mode) + (highlight-indentation-current-column-mode)) (add-hook 'php+-mode-hook 'customizations-for-php+-mode)