about summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-14T16·08+0200
committerVincent Ambo <vincent@spotify.com>2013-07-14T16·08+0200
commit0de09c890d7f124c7814051705e4aec6603b226c (patch)
treeb5b8dc205a3ddac1e4a2e8494490fafd76dddae2 /emacs.d
parentd2311f48f6778790d02deaab7b3c87c503c25335 (diff)
emacs: Changed rainbow-delimiters colours to those from Solarized
theme (very visible on Gruber Darker, I like it!) and forcing show-parens-mode
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init-custom.el12
-rw-r--r--emacs.d/init-modes.el4
2 files changed, 14 insertions, 2 deletions
diff --git a/emacs.d/init-custom.el b/emacs.d/init-custom.el
index c582239054b1..f345915c223a 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 8a87aeb711da..2c07032c5bf6 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)
+