From 18ef1de90ddb7105b2da7101e1d9ec7b4c8f9c21 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Thu, 24 Aug 2017 21:41:24 +0100 Subject: [PATCH] Basic package configuration --- init.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/init.el b/init.el index df3623d..fe81b1f 100644 --- a/init.el +++ b/init.el @@ -62,6 +62,27 @@ '("melpa" . "http://melpa.milkbox.net/packages/") t) (package-initialize) + (unless (require 'use-package nil 'noerror) + (package-refresh-contents) + (package-install 'use-package)) + + (use-package magit + :ensure t) + + (use-package rainbow-delimiters + :ensure t) + (add-hook 'prog-mode-hook 'rainbow-delimiters-mode) + + (use-package highlight-parentheses + :ensure t) + (add-hook 'prog-mode-hook 'highlight-parentheses-mode) + + (add-hook 'prog-mode-hook 'show-paren-mode) + (setq hl-paren-colors '("#86dc2f" + "IndianRed1" + "IndianRed3" + "IndianRed4")) + ;; -------------------------------------------------------------------------- ;; Formatting ;; --------------------------------------------------------------------------