From 73fd3293154eff4ae4454fd2b59962b70d1ff960 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 30 Dec 2019 21:57:36 +1300 Subject: [PATCH] spacemacs: get rid of smartparens mode --- system/desktop/home-manager/spacemacs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/desktop/home-manager/spacemacs.nix b/system/desktop/home-manager/spacemacs.nix index c13316e..79d2cff 100644 --- a/system/desktop/home-manager/spacemacs.nix +++ b/system/desktop/home-manager/spacemacs.nix @@ -137,6 +137,12 @@ in { ;; -*- mode: emacs-lisp -*- ;; just add (load "~/.spacemacs.d/hook-user-config.el") in your dotspacemacs/user-config function + + ;; turn of smartparens mode off globally + ;; https://emacs.stackexchange.com/questions/16935/disable-smartparens-in-spacemacs + (spacemacs/toggle-smartparens-globally-off) + (remove-hook 'prog-mode-hook #'smartparens-mode) + (let ((n 2)) (setq coffee-tab-width n) (setq javascript-indent-level n)