fix(default): 'wrong-type-argument: consp' in haskell-mode

Seems `sp-local-pair`s `:actions` property no longer takes `:rem`.
This commit is contained in:
Henrik Lissner
2025-09-03 18:06:01 +02:00
parent 5ca9b7a37a
commit 45546ea25d

View File

@@ -261,9 +261,9 @@ or if the current buffer is read-only or not file-visiting."
;; Removes haskell-mode trailing braces
(after! smartparens-haskell
(sp-with-modes '(haskell-mode haskell-ts-mode haskell-interactive-mode)
(sp-local-pair "{-" "-}" :actions :rem)
(sp-local-pair "{-#" "#-}" :actions :rem)
(sp-local-pair "{-@" "@-}" :actions :rem)
(sp-local-pair "{-" "-}" :actions nil)
(sp-local-pair "{-#" "#-}" :actions nil)
(sp-local-pair "{-@" "@-}" :actions nil)
(sp-local-pair "{-" "-")
(sp-local-pair "{-#" "#-")
(sp-local-pair "{-@" "@-")))