cleaned up language customizations a bit

This commit is contained in:
2012-02-24 20:48:47 +00:00
parent cb97028e82
commit 80151dab5d
10 changed files with 24 additions and 15 deletions

View File

@@ -3,6 +3,7 @@
(add-hook 'coffee-mode-hook
(lambda ()
(fci-mode)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(setq tab-width 2)))

View File

@@ -2,6 +2,7 @@
(add-hook 'feature-mode-hook
(lambda ()
(fci-mode)
(setq whitespace-action (quote (auto-cleanup)))
(flyspell-mode)
(linum-mode t)
(setq whitespace-action (quote (auto-cleanup)))))
(fci-mode)))

View File

@@ -1,7 +1,7 @@
;; Lisp Hook
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(flyspell-prog-mode)
(setq whitespace-action (quote (auto-cleanup)))
(fci-mode)
(linum-mode t)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)))

View File

@@ -10,4 +10,6 @@
(add-hook 'erland-mode-hook
(lambda ()
(linum-mode t)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)))

View File

@@ -1,5 +1,6 @@
(add-hook 'js-mode-hook
(lambda ()
(fci-mode)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(setq tab-width 2)))

View File

@@ -7,5 +7,5 @@
(setq whitespace-action nil)
(fci-mode)
(linum-mode t)
(flyspell-mode 1)
(flyspell-mode)
(define-key markdown-mode-map (kbd "C-c p") 'markdown-preview)))

View File

@@ -1,5 +1,6 @@
(add-hook 'php-mode-hook
(lambda ()
(setq whitespace-action (quote (auto-cleanup)))
(fci-mode)
(linum-mode t)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)))

View File

@@ -1,5 +1,6 @@
(add-hook 'python-mode-hook
(lambda ()
(fci-mode)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(define-key python-mode-map (kbd "RET") 'newline-and-indent)))

View File

@@ -1,4 +1,5 @@
(add-hook 'sh-mode-hook
(lambda ()
(fci-mode)
(linum-mode t)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)))

View File

@@ -4,6 +4,7 @@
(add-hook 'yaml-mode-hook
'(lambda ()
(fci-mode)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)
(define-key yaml-mode-map (kbd "RET") 'newline-and-indent)))