dotfiles/emacs/.emacs.d/init/oni-emacs-lisp-mode-init.org

26 lines
640 B
Org Mode

#+TITLE: Emacs lisp mode configuration
Enable paredit mode to help always keep parentheses balanced.
#+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
#+END_SRC
Enable rainbow delimiters mode to help visualize the different
parenthesized levels.
#+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
#+END_SRC
Enable company mode to help complete long symbols and such.
#+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'company-mode)
#+END_SRC
Enable flycheck mode to help me avoid errors.
#+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
#+END_SRC