guns/vim-clojure-static

Indenter thinks comments are function arguments

raxod502 opened this issue · 1 comments

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)
guns commented

Yes, I agree. I'll take a look into it. Thanks for reporting!