Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Enter/Return behaviour #23

Open
Open

Description

@GetContented

When I press newline inside an open paren, the cursor should drop to the same indentation level (unless at the end of a close-paren, but it seems to go to the start of the line preceding it. How would I change this behaviour? Or is it not really part of the language-clojure package? I'm not really sure where else to ask if that's the case, so would appreciate any hints on where to ask.

Activity

  1. WalterGR commented on Jan 2, 2016

    @WalterGR

    Note that this also applies to brackets, not just parens.

    If I type

    (loop [result []

    and press Enter/Return, I expect the new line to be indented and my cursor positioned as follows:

    (loop [result []
           _

    but the cursor is positioned at the beginning of the new line.

  2. GetContented commented on Jan 2, 2016

    @GetContented
    Author

    Yes. All brackets, rounded (parens), square, curly (braces) etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions