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
When trying to replicate this I first stumbled upon an oddity:
I had to have a config for it first, as in:
[editor.soft-wrap]
wrap-indicator = "↪"
Then I could :set soft-wrap.wrap-indicator "-" and it works as expected.
I'm pretty sure that the input of "" will be parsed away to nothing, and then it will seem that the requirement for two args to :set is no longer met.
Making it so :set uses a default value will not be good as :set soft-wrap.enable reads as if it should actually enable it, but default bool is false. Forcing boolean values to true.
Not entirely sure how we should handle this one? Maybe accept unicode like U+00A0 for non breaking space?
This is a result of the current :set parsing rules. :set \"\" works.
This will be fixed in #8853 or #10389. I haven't decided how exactly but I want to revamp the set syntax either to just use somekind of scheme evaluation or a custom syntax that doesn't rely on json parsing.
Summary
I'm trying to disable the soft wrap indicator from the command line.
Reproduction Steps
I tried this:
hx
I expected this to happen:
The soft wrap indicator should be disabled.
Instead, this happened:
Bad arguments. Usage: ':set key field'
Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
kitty 0.26.5
Helix Version
helix 22.12 (6d5fa20)
The text was updated successfully, but these errors were encountered: