emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 8a65262d37 200/500: Remove smartparens feature de


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 8a65262d37 200/500: Remove smartparens feature detection
Date: Sat, 29 Jan 2022 08:27:06 -0500 (EST)

branch: elpa/nix-mode
commit 8a65262d374931b476b3a15458cee52031531c0f
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    Remove smartparens feature detection
---
 nix-mode.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index 7670d7b6e4..2a2f07f3b5 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -533,11 +533,5 @@ The hook `nix-mode-hook' is run when Nix mode is started.
   (add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode))
   (add-to-list 'auto-mode-alist '("\\.nix.in\\'" . nix-mode)))
 
-(when (featurep 'smartparens)
-  (sp-with-modes 'nix-mode
-    (sp-local-pair "'" "'" :unless '(sp-in-comment-p sp-in-string-quotes-p))
-    (sp-local-pair "\"" "\"")
-    (sp-local-pair "''" "''" :unless '(sp-in-comment-p 
sp-in-string-quotes-p))))
-
 (provide 'nix-mode)
 ;;; nix-mode.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]