diff options
Diffstat (limited to 'emacs.d/modules')
-rw-r--r-- | emacs.d/modules/module-flyspell.el | 23 | ||||
-rw-r--r-- | emacs.d/modules/module-pants.el | 4 |
2 files changed, 15 insertions, 12 deletions
diff --git a/emacs.d/modules/module-flyspell.el b/emacs.d/modules/module-flyspell.el index ade45ee..e95ab1e 100644 --- a/emacs.d/modules/module-flyspell.el +++ b/emacs.d/modules/module-flyspell.el @@ -1,17 +1,20 @@ (require 'config-package) -;; check the spelling +(use-package ispell + :config + (setq ispell-program-name "aspell" + ispell-list-command "--list")) + +(use-package flyspell-correct-ivy + :bind + (:map flyspell-mode-map + ("C-;" . flyspell-correct-previous-word-generic))) + (use-package flyspell + :commands (spell-checking/change-dictionary) :init - (use-package ispell - :ensure t - :config - (setq ispell-program-name "aspell" - ispell-list-command "--list")) - (use-package flyspell-popup - :ensure t - :bind ("C-:" . flyspell-popup-correct)) :config - (add-hook 'text-mode-hook 'flyspell-mode)) + (add-hook 'text-mode-hook 'flyspell-mode) + (add-hook 'prog-mode-hook 'flyspell-prog-mode)) (provide 'module-flyspell) diff --git a/emacs.d/modules/module-pants.el b/emacs.d/modules/module-pants.el index 5a7abbb..f1027bb 100644 --- a/emacs.d/modules/module-pants.el +++ b/emacs.d/modules/module-pants.el @@ -1,11 +1,11 @@ (require 'config-package) (use-package pants - :load-path (lambda () (expand-file-name "github.com/fcuny/pants.el/" fcuny/workspace)) + :load-path (lambda () (expand-file-name "github.com/fcuny/pants.el/" fcuny-path-workspace)) :config (setq pants-completion-system 'ivy - pants-source-tree-root (expand-file-name "git.twitter.biz/source" fcuny/workspace) + pants-source-tree-root (expand-file-name "git.twitter.biz/source" fcuny-path-workspace) pants-bury-compilation-buffer t pants-extra-args "-q") |