Created
July 23, 2014 17:52
-
-
Save moea/9012088bc9b1c3b4d898 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/clojure.el b/vendor/clojure.el | |
index d9cfbd3..884cd66 100644 | |
--- a/vendor/clojure.el | |
+++ b/vendor/clojure.el | |
@@ -13,3 +13,9 @@ | |
(add-hook 'cider-repl-mode-hook 'subword-mode) | |
(add-hook 'cider-repl-mode-hook 'paredit-mode) | |
(add-hook 'cider-repl-mode-hook 'rainbow-delimiters-mode) | |
+ | |
+(defun extend-indent () | |
+ (put-clojure-indent 'match 1) | |
+ (put-clojure-indent 'and-let 1)) | |
+ | |
+(add-hook 'clojure-mode-hook 'extend-indent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment