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

791 B

Emacs lisp mode configuration

Enable paredit mode to help always keep parentheses balanced.

  (add-hook 'emacs-lisp-mode-hook 'paredit-mode)

Enable rainbow delimiters mode to help visualize the different parenthesized levels.

  (add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)

Enable company mode to help complete long symbols and such.

  (add-hook 'emacs-lisp-mode-hook 'company-mode)

Enable flycheck mode to help me avoid errors.

  (add-hook 'emacs-lisp-mode-hook 'flycheck-mode)

Enable namesless mode to help with viewing name-prefixed symbols.

  (add-hook 'emacs-lisp-mode-hook 'nameless-mode)