Further configuration
This commit is contained in:
parent
0350f6b201
commit
bc604bfdf3
@ -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.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
@ -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.
|
||||
;;
|
||||
|
Reference in New Issue
Block a user