diff options
-rw-r--r-- | emacs.d/packages.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.d/packages.el b/emacs.d/packages.el index 937d726..4530cc7 100644 --- a/emacs.d/packages.el +++ b/emacs.d/packages.el @@ -45,6 +45,17 @@ (add-hook 'prog-mode-hook 'flycheck-mode) (setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc)))) +(use-package flyspell + :ensure t + :diminish flyspell-mode "✓" + :defer t + :init + (progn + (setq ispell-program-name "aspell" + ispell-list-command "--list") + (add-hook 'prog-mode-hook 'flyspell-prog-mode) + (add-hook 'text-mode-hook 'turn-on-flyspell))) + (use-package gist :ensure t :bind ("C-c g p" . gist-region-or-buffer-private) @@ -106,6 +117,7 @@ (setq markdown-command preferred-markdown-impl))))) (use-package mustache-mode + :mode ("\\.\\(alert\\|mustache\\)$" . mustache-mode) :ensure t :defer t) @@ -121,6 +133,9 @@ :ensure t :mode ("\\.pp$" . puppet-mode)) +(use-package python + :mode ("\\.\\(py\\|aurora\\)$" . python-mode)) + (use-package rainbow-delimiters :ensure t :defer t |