From 0de09c890d7f124c7814051705e4aec6603b226c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 14 Jul 2013 18:08:44 +0200 Subject: [PATCH] emacs: Changed rainbow-delimiters colours to those from Solarized theme (very visible on Gruber Darker, I like it!) and forcing show-parens-mode --- emacs.d/init-custom.el | 12 ++++++++++-- emacs.d/init-modes.el | 4 ++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/emacs.d/init-custom.el b/emacs.d/init-custom.el index c58223905..f345915c2 100644 --- a/emacs.d/init-custom.el +++ b/emacs.d/init-custom.el @@ -9,7 +9,7 @@ '(erc-modules (quote (autojoin button completion dcc irccontrols list log match menu move-to-prompt netsplit networks noncommands notifications readonly ring scrolltobottom stamp track))) - '(haskell-mode-hook (quote (font-lock-mode))) + '(haskell-mode-hook (quote (font-lock-mode)) t) '(ns-alternate-modifier (quote none)) '(ns-command-modifier (quote meta))) (custom-set-faces @@ -17,4 +17,12 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - ) + '(rainbow-delimiters-depth-1-face ((t (:foreground "#2aa198")))) + '(rainbow-delimiters-depth-2-face ((t (:foreground "#b58900")))) + '(rainbow-delimiters-depth-3-face ((t (:foreground "#268bd2")))) + '(rainbow-delimiters-depth-4-face ((t (:foreground "#dc322f")))) + '(rainbow-delimiters-depth-5-face ((t (:foreground "#859900")))) + '(rainbow-delimiters-depth-6-face ((t (:foreground "#268bd2")))) + '(rainbow-delimiters-depth-7-face ((t (:foreground "#cb4b16")))) + '(rainbow-delimiters-depth-8-face ((t (:foreground "#d33682")))) + '(rainbow-delimiters-depth-9-face ((t (:foreground "#839496"))))) diff --git a/emacs.d/init-modes.el b/emacs.d/init-modes.el index 8a87aeb71..2c07032c5 100644 --- a/emacs.d/init-modes.el +++ b/emacs.d/init-modes.el @@ -42,3 +42,7 @@ ;; Enable paredit in all programming buffers (add-hook 'prog-mode-hook 'paredit-mode) + +;; Always highlight matching brackets +(show-paren-mode 1) +