derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

Configure asterisk alignment in multiline comments #116

Closed normenmueller closed 8 years ago

normenmueller commented 8 years ago

Any chance to configure vim-scala to have multiline docs aligned like suggested at http://goo.gl/7JxX2R.

For example, instead of

/**
 * This is a multiline comment.
 *
 * Some more notes...
 */

rather get

/**
  * This is a multiline comment.
  *
  * Some more notes...
  */
ches commented 8 years ago

This is not something that's currently configurable. I'm sure we'd consider a patch to support it as an option since it is technically the Scaladoc recommended style, although I almost never see any projects in the wild use it other than the standard library…

derekwyatt commented 8 years ago

Yeah, personally, I much prefer it the way it is, and it would seem that most people agree. However, as @ches said, we'd take a PR to make it configurable. It always baffles me why people want to lose a column of usable space, but to each his own :)

normenmueller commented 8 years ago

@ches and @derekwyatt I'm willing to beta test! But as I already stated at https://github.com/derekwyatt/vim-scala/issues/117#issuecomment-166421772, I'm only a "Vim user" not used to "Vim programming".

mjp4 commented 8 years ago

I would like to see this being added. I have had a pull request with a fix waiting for a couple of months without any progress - is there something else I should do? I have corrected a slight bug recently, but have been using it successfully.

ches commented 8 years ago

This was closed by #129, let us know if any issue arises. Thanks @mjp4!