Further configuration

This commit is contained in:
Wojciech Kozlowski 2017-08-30 01:13:52 +01:00
parent 0350f6b201
commit bc604bfdf3
2 changed files with 25 additions and 0 deletions

View File

@ -157,6 +157,22 @@
try-complete-lisp-symbol) ;; Complete as Elisp symbol.
)
;; --------------------------------------------------------------------------
;; Check spelling.
;; --------------------------------------------------------------------------
(use-package flyspell
:init
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'org-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
:config
(if (executable-find "aspell")
(progn
(setq-default ispell-program-name "aspell")
(setq-default ispell-extra-args '("--sug-mode=ultra")))
(setq-default ispell-program-name "ispell")))
;; --------------------------------------------------------------------------
;; Commands.
;; --------------------------------------------------------------------------

View File

@ -45,6 +45,15 @@
:init
(yas-global-mode 1))
;; --------------------------------------------------------------------------
;; Debugging options.
;; --------------------------------------------------------------------------
(use-package gud
:defer t
:config
(setq gud-chdir-before-run nil))
;; --------------------------------------------------------------------------
;; Line numbers.
;;