Enable smartparens-strict-mode for prog modes
This commit is contained in:
parent
1f1c86393f
commit
3f751e3a4e
|
@ -104,7 +104,7 @@ must be defined in `dotspacemacs/init' function to take effect.")
|
|||
:config (spacemacs|hide-lighter ruby-end-mode)))
|
||||
|
||||
(defun erlang-elixir/init-smartparens ()
|
||||
(add-hook 'erlang-mode-hook 'smartparens-mode))
|
||||
(add-hook 'erlang-mode-hook 'smartparens-strict-mode))
|
||||
|
||||
(defun erlang-elixir/init-yasnippet ()
|
||||
(add-hook 'erlang-mode-hook 'spacemacs/load-yasnippet))
|
||||
|
|
|
@ -1967,8 +1967,8 @@ determine the state to enable when escaping from the insert state.")
|
|||
:defer t
|
||||
:init
|
||||
(progn
|
||||
(add-to-hooks 'smartparens-mode '(markdown-mode-hook
|
||||
prog-mode-hook)))
|
||||
(add-to-hooks 'smartparens-strict-mode '(markdown-mode-hook
|
||||
prog-mode-hook)))
|
||||
:config
|
||||
(progn
|
||||
(require 'smartparens-config)
|
||||
|
|
Loading…
Reference in a new issue