Skip to content

Indenter thinks comments are function arguments #65

Description

@raxod502

There are (primarily) two different ways that function arguments are indented in Clojure:

(function
  arg arg arg)

(function arg
          arg
          arg)

Now, when I put a comment directly after the function name, vim-clojure-static thinks that it is an argument:

(function ; comment
          arg
          arg)

I think this would make more sense:

(function ; comment
  arg
  arg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions