Add flyckeck to prog mode
This commit is contained in:
parent
58b79e0a74
commit
1426dfecd7
3 changed files with 4 additions and 1 deletions
|
|
@ -163,6 +163,7 @@
|
||||||
|
|
||||||
;; Show projectile lists by most recently active
|
;; Show projectile lists by most recently active
|
||||||
(setq projectile-sort-order (quote recently-active))
|
(setq projectile-sort-order (quote recently-active))
|
||||||
|
(add-hook 'projectile-after-switch-project-hook 'magit-status)
|
||||||
|
|
||||||
;; (add-hook 'projectile-find-file-hook 'projectile-invalidate-cache)
|
;; (add-hook 'projectile-find-file-hook 'projectile-invalidate-cache)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,10 @@
|
||||||
;; Disable meta on right alt (useful for Polish characters)
|
;; Disable meta on right alt (useful for Polish characters)
|
||||||
(setq ns-right-alternate-modifier nil)
|
(setq ns-right-alternate-modifier nil)
|
||||||
|
|
||||||
|
(require 'ispell)
|
||||||
;; Highlight misspelled words
|
;; Highlight misspelled words
|
||||||
(setq ispell-program-name "aspell")
|
(setq ispell-program-name "aspell")
|
||||||
(flyspell-mode 1)
|
(add-hook 'prog-mode-hook 'flyspell-mode)
|
||||||
(provide 'spelling)
|
(provide 'spelling)
|
||||||
|
|
||||||
;;; spelling.el ends here
|
;;; spelling.el ends here
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
(add-to-list 'purpose-user-regexp-purposes '("_spec.rb\\(<.*>\\)?$" . test))
|
(add-to-list 'purpose-user-regexp-purposes '("_spec.rb\\(<.*>\\)?$" . test))
|
||||||
(add-to-list 'purpose-user-regexp-purposes '("_test.exs\\(<.*>\\)?$" . test))
|
(add-to-list 'purpose-user-regexp-purposes '("_test.exs\\(<.*>\\)?$" . test))
|
||||||
(add-to-list 'purpose-user-mode-purposes '(shell-mode . test))
|
(add-to-list 'purpose-user-mode-purposes '(shell-mode . test))
|
||||||
|
(add-to-list 'purpose-user-mode-purposes '(magit-diff-mode . test))
|
||||||
|
|
||||||
;; Enumarate through all stuff.
|
;; Enumarate through all stuff.
|
||||||
(add-to-list 'purpose-user-regexp-purposes
|
(add-to-list 'purpose-user-regexp-purposes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue