about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-02-04T12·42+0100
committerVincent Ambo <tazjin@gmail.com>2018-02-04T12·43+0100
commited4cc264fa725835372dbd4d926ac0bf75544a08 (patch)
treec9081b951166a1c8ebc49d7b50786f043257722b
parentb713aab0d12a5c90d2ef1fe5b17f7d075cabacce (diff)
feat(lisp): Install and enable adjust-parens
-rw-r--r--init.el1
-rw-r--r--init/custom.el2
-rw-r--r--init/lisp-setup.el1
3 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index aba5bfc00240..0a85fa5397c8 100644
--- a/init.el
+++ b/init.el
@@ -23,6 +23,7 @@
     ;; editor packages
     ace-jump-mode
     ace-window
+    adjust-parens
     browse-kill-ring
     cargo
     company
diff --git a/init/custom.el b/init/custom.el
index 7921d0a4a2b5..21f1715939c1 100644
--- a/init/custom.el
+++ b/init/custom.el
@@ -22,7 +22,7 @@
  '(ns-right-command-modifier (quote meta))
  '(package-selected-packages
    (quote
-    (ace-window exwm which-key pandoc elnode fish-mode nix-mode yaml-mode undo-tree terraform-mode switch-window smart-mode-line rust-mode rainbow-mode rainbow-delimiters puppet-mode pkgbuild-mode password-store paredit multi-term multiple-cursors markdown-mode+ magit iy-go-to-char idle-highlight-mode hi2 helm haskell-mode gruber-darker-theme go-mode flycheck erlang dockerfile-mode confluence browse-kill-ring ag ace-jump-mode)))
+    (adjust-parens parinfer pdf-tools groovy-mode ace-window exwm which-key pandoc elnode fish-mode nix-mode yaml-mode undo-tree terraform-mode switch-window smart-mode-line rust-mode rainbow-mode rainbow-delimiters puppet-mode pkgbuild-mode password-store paredit multi-term multiple-cursors markdown-mode+ magit iy-go-to-char idle-highlight-mode hi2 helm haskell-mode gruber-darker-theme go-mode flycheck erlang dockerfile-mode confluence browse-kill-ring ag ace-jump-mode)))
  '(require-final-newline (quote visit-save)))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
diff --git a/init/lisp-setup.el b/init/lisp-setup.el
index e4174b587b22..62bb1122ad45 100644
--- a/init/lisp-setup.el
+++ b/init/lisp-setup.el
@@ -5,6 +5,7 @@
 
 (add-to-list 'lisp-mode-hook #'company-mode)
 (add-to-list 'lisp-mode-hook #'paredit-mode)
+(add-to-list 'lisp-mode-hook #'adjust-parens-mode)
 
 (define-key lisp-mode-map (kbd "TAB")
   #'company-indent-or-complete-common)