Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. (smartparens-global-mode -1)
  2.  
  3. (defun dotspacemacs/user-config ()
  4. "Configuration function for user code.
  5. This function is called at the very end of Spacemacs initialization after
  6. layers configuration. You are free to put any user code."
  7. ; other code
  8. (spacemacs/toggle-smartparens-globally-off)
  9. ; other code
  10. )
  11.  
  12. (remove-hook 'prog-mode-hook #'smartparens-mode)
  13.  
  14. (spacemacs/toggle-smartparens-globally-off)
  15.  
  16. (defun dotspacemacs/user-config ()
  17. (require 'smartparens)
  18. (remove-hook 'prog-mode-hook #'smartparens-mode)
  19. (remove-hook 'markdown-mode-hook #'smartparens-mode)
  20. (spacemacs/toggle-smartparens-globally-off)
  21. (add-hook 'clojure-mode-hook '(lambda () (smartparens-mode 1)) t))
Add Comment
Please, Sign In to add comment