-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support for block comments #1505
Comments
On a related note - I won't make a new issue for this: The :reflow command can reformat a selected part of a C block comment of the following style (in my limited testing), but unlike Vim, adding a newline while editing the comment will not add
(this was tested in a .h file with clangd configured as LSP and .h added as a C language extension) |
That's #1730 |
Is there currently no way to toggle comments in languages like CSS, HTML? I'm (currently) not even talking about having separate shortcuts for block comments, would just be nice if it worked at all in such languages. |
Correct, this issue covers adding support for toggling block comments |
this could be potentially fixed with #4718: heres a video of it in action, its still a draft though and needs a bit of work |
Hi guys! I'm in love with Helix. While I'm learning to program in C, I wrote a commenting utility for Helix. For those who interested, here is the link to the repo. |
Add support for block comments. (line comment support per language was added in #463)
There are multiple use-cases for this:
html
/xml
,css
, oldc
,ocaml
. thetoggle_comments
command could fallback to a multi-line comment.languages.toml
.The text was updated successfully, but these errors were encountered: