diff --git a/spacemacs/config.el b/spacemacs/config.el index 87007032e..2f2e77448 100644 --- a/spacemacs/config.el +++ b/spacemacs/config.el @@ -114,8 +114,7 @@ It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'." (setq initial-major-mode 'text-mode) ;; whitespace-mode (add-hook 'prog-mode-hook (lambda () (setq show-trailing-whitespace 1))) -;; When point is on paranthesis, highlight the matching one -(show-paren-mode t) + ;; use only spaces and no tabs (setq-default indent-tabs-mode nil default-tab-width 2) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index f5975c9bb..9ad1c0366 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -2504,6 +2504,9 @@ displayed in the mode-line.") (require 'smartparens-config) (spacemacs|diminish smartparens-mode " (Ⓢ)" " (S)") + ;; When point is on a pair, highlight the matching one + (show-smartparens-global-mode +1) + (defun spacemacs/smartparens-pair-newline (id action context) (save-excursion (newline)