Disable highlight-indentation-current-column-mode for certain modes

Ruby, PHP, JavaScript and others have closing statements for code
blocks. Highlightighting the current indentation level serves as more of
annoyance than a useful tool. The same it not true for the likes of
Python or CoffeeScript for example.
This commit is contained in:
2012-04-04 11:03:43 +01:00
parent f9e5b23a68
commit 1907feb14f
5 changed files with 3 additions and 8 deletions

View File

@@ -6,5 +6,4 @@
(setq css-indent-offset 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)
(define-key css-mode-map (kbd "RET") 'newline-and-indent)))

View File

@@ -6,5 +6,4 @@
(fci-mode)
(setq tab-width 2)
(setq highlight-indentation-offset 2)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)))
(highlight-indentation-mode)))

View File

@@ -4,5 +4,4 @@
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)))
(highlight-indentation-mode)))

View File

@@ -24,7 +24,6 @@
(add-to-list 'ac-sources 'ac-source-rsense-constant))
(flymake-ruby-load)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)
(ruby-electric-mode t)
(setq ruby-deep-arglist t)
(setq ruby-deep-indent-paren nil)

View File

@@ -3,5 +3,4 @@
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(highlight-indentation-mode)
(highlight-indentation-current-column-mode)))
(highlight-indentation-mode)))