Skip to content

Paredit and Curly braces in cider-repl-mode #1479

Closed
@jsrodrigues

Description

@jsrodrigues

I noticed that paredit mode for curly braces seems to be broken in the cider-repl. (add-hook 'paredit-mode-hook #'clojure-paredit-setup) in cider-repl.el does not fix the issue. I had to add the following lines in my emacs init file to fix this.

(add-hook 'cider-repl-mode-hook
          '(lambda ()
             (define-key cider-repl-mode-map "{" #'paredit-open-curly)
             (define-key cider-repl-mode-map "}" #'paredit-close-curly)))
Emacs Version: 24.5.1
Mac OS X: El Capitan
; CIDER 0.10.0 (Java 1.8.0_66, Clojure 1.7.0, nREPL 0.2.12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions