Don't insert extra quote in dotspacemacs-mode

Since dotspacemacs-mode is essentially a Lisp mode, insert a single
quote should not automatically insert another single quote to close
it. This is the same as smartparens in Emacs Lisp mode out of the box.
This commit is contained in:
Tu Do 2015-04-06 11:35:10 +07:00 committed by syl20bnr
parent 7c7239cc44
commit a8efc6f86f

View file

@ -2611,6 +2611,9 @@ It is a string holding:
;; don't create a pair with single quote in minibuffer
(sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil)
;; don't create a pair with single quote in dotspacemacs-mode
(sp-local-pair 'dotspacemacs-mode "'" nil :actions nil)
(setq sp-cancel-autoskip-on-backward-movement nil))
:config
(progn