Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indenter thinks comments are function arguments #65

Open
raxod502 opened this issue Jul 9, 2015 · 1 comment
Open

Indenter thinks comments are function arguments #65

raxod502 opened this issue Jul 9, 2015 · 1 comment

Comments

@raxod502
Copy link

raxod502 commented Jul 9, 2015

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
Copy link
Owner

guns commented Jul 9, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants