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

Clojure/Clojurescript smart indent is always 4 spaces #86

@steveaft

Description

@steveaft

I've looked through the issues on this repo, and looked through issues on Google Groups, but don't quite know what would be different about my setup -- I don't see any of the behaviors related to clojure formatting correctly.

I just have a regular lighttable install, and I have the closure plugin (latest 0.3.2) I almost always get 4 space indents --

(defn
    more stuff...

Am I supposed to override something somewhere, or hack the codemirror file actually get 2 space indents?

I have my tabs set to 2 spaces, and if I move the cursor to the leftmost column and hit "tab" I actually get two spaces, so this seems to only be an issue with smart indent, which seems to trigger anytime I hit the enter key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions