From 92c156ba4571a24cc5b6db63aedce05591170080 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sat, 28 Mar 2015 20:42:30 -0400 Subject: [PATCH] Move a setq to :init in smartparens configuration --- spacemacs/packages.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 5b5409a0b..176cef1ab 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1179,7 +1179,6 @@ which require an initialization must be listed explicitly in the list.") :fringe-bitmap 'my-flycheck-fringe-indicator :fringe-face 'flycheck-fringe-info) - ;; key bindings (evil-leader/set-key "ec" 'flycheck-clear @@ -2459,11 +2458,11 @@ displayed in the mode-line.") (add-to-hooks (if dotspacemacs-smartparens-strict-mode 'smartparens-strict-mode 'smartparens-mode) - '(prog-mode-hook))) + '(prog-mode-hook)) + (setq sp-cancel-autoskip-on-backward-movement nil)) :config (progn (require 'smartparens-config) - (setq sp-cancel-autoskip-on-backward-movement nil) (spacemacs|diminish smartparens-mode " (Ⓢ)" " (S)") (defun spacemacs/smartparens-pair-newline (id action context)