aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spacemacs.el33
1 files changed, 18 insertions, 15 deletions
diff --git a/spacemacs.el b/spacemacs.el
index 6d532b1..48d5db0 100644
--- a/spacemacs.el
+++ b/spacemacs.el
@@ -457,28 +457,31 @@ It is called immediately after `dotspacemacs/init', before layer configuration
(confirmation-button 1)
(query 1)
(render 1)
- (view 1)
- (text 1)
- (touchable-highlight 1)
- (image 1)
- (scroll-view 1)
- (camera 1)
(initial-state 1)
(ident 1)
(query 1)
- (li 1)
- (ul 1)
- (div 1)
- (button 1)
- (a 1)
- (span 1)
- (svg 1)
- (options 1)
(for-all 1)
(fdef 1)
(action 1)
(as-user 3)
- (constraint-fn 1)))
+ (constraint-fn 1))
+
+ ;; dom/* indentation rules: React/Native helper fns
+ (define-clojure-indent
+ (view 'defun)
+ (text 'defun)
+ (touchable-highlight 'defun)
+ (image 'defun)
+ (scroll-view 'defun)
+ (camera 'defun)
+ (li 'defun)
+ (ul 'defun)
+ (div 'defun)
+ (button 'defun)
+ (a 'defun)
+ (span 'defun)
+ (svg 'defun)
+ (options 'defun)))
(defun midje-load-facts ()
"Load current namespace (or their test namespace) facts"