Skip to content

Commit

Permalink
Fix global toggles for aggressive-indent and smartparens
Browse files Browse the repository at this point in the history
Previously the global toggles acted on the local instead of global mode
  • Loading branch information
mjkramer authored and d12frosted committed Oct 13, 2018
1 parent 931e959 commit 5f27eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layers/+spacemacs/spacemacs-editing/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
:documentation "Always keep code indented."
:evil-leader "tI")
(spacemacs|add-toggle aggressive-indent-globally
:mode aggressive-indent-mode
:mode global-aggressive-indent-mode
:documentation "Always keep code indented globally."
:evil-leader "t C-I"))
:config
Expand Down Expand Up @@ -326,7 +326,7 @@
:documentation "Enable smartparens."
:evil-leader "tp")
(spacemacs|add-toggle smartparens-globally
:mode smartparens-mode
:mode smartparens-global-mode
:documentation "Enable smartparens globally."
:evil-leader "t C-p")
;; key bindings
Expand Down

0 comments on commit 5f27eee

Please sign in to comment.