You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This puts (**) at the start of the line, which has no effect. The line(s) must be surrounded with (* and *) instead, which isn't currently possible with Ctrl-c.
Reproduction Steps
I tried this:
Ctrl-c
I expected this to happen: Line is commented by surrounding with (* and *).
This may require a new feature, so perhaps this should be labeled differently.
One idea is to allow comment-token to be an array of two strings, in which case they are used to surround the line(s). That way an ocaml-specific fix is not needed. I would be willing to try implementing that, or whatever approach is the right way to do it.
Summary
For ocaml in languages.toml we have:
comment-token = "(**)"
This puts
(**)
at the start of the line, which has no effect. The line(s) must be surrounded with(*
and*)
instead, which isn't currently possible with Ctrl-c.Reproduction Steps
I tried this:
Ctrl-c
I expected this to happen: Line is commented by surrounding with
(*
and*)
.Instead, this happened:
Line is prefixed with
(**)
which has no effect.Helix log
No response
Platform
Linux
Terminal Emulator
Gnome terminal
Helix Version
helix 23.05 (9ccca81)
The text was updated successfully, but these errors were encountered: