From b35a3f20012bc1f036d5813a04518d5dbf237ea6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 20 Jul 2014 10:39:08 +0100 Subject: [PATCH] Remove highlight-indentation mode from Go The mode doesn't work with files that use actual tabs for indentation. --- mode-customizations/go-mode.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mode-customizations/go-mode.el b/mode-customizations/go-mode.el index d0e3467..89bd87d 100644 --- a/mode-customizations/go-mode.el +++ b/mode-customizations/go-mode.el @@ -7,10 +7,7 @@ (auto-complete-mode) (whitespace-mode) (subword-mode) - (setq tab-width 4) - (setq highlight-indentation-offset 4) - (highlight-indentation-mode) - (highlight-indentation-current-column-mode)) + (setq tab-width 4)) (add-hook 'go-mode-hook 'customizations-for-go-mode) (add-hook 'before-save-hook #'gofmt-before-save)