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

[feature request] recognize //! used by top-level rustdoc comments #52

Open
sunshowers opened this issue Nov 27, 2021 · 1 comment
Open

Comments

@sunshowers
Copy link

sunshowers commented Nov 27, 2021

Hi, thanks for writing this plugin! I use it everyday :)

I'm wondering if it can be extended to support the //! syntax used by rustdoc comments at the top level. Hopefully it should be pretty easy to add :)

@dimalinux
Copy link

Now that Jetbrains has RustRover, this issue is more of a very frustrating defect than a feature. If I was a Kotlin developer, I would submit a patch. Any way we can grease the wheels to get this fixed?

Example input:

//! This is a long comment that needs to be wrapped. Please wrap this comment successfully in the near future.

Expected result:

//! This is a long comment that needs to be wrapped. Please wrap this comment
//! successfully in the near future.

Actual result:

//! This is a long comment that needs to be wrapped. Please wrap this comment
//successfully in the near future.

Thank you for the plugin and continued maintenance!

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