-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
2 level documentation popup for :set
#5939
Comments
I think this is a great idea. Started on a possible implementation here. Hope to get back to it soon. |
Just leaving some notes here for posterity, I have that branch above that does the easy part but the hard part here is that documentation for options is not embedded into the project. The first hurdle would be, do we want it to be? I'm generally in favor of this because I like how discoverable Helix is in other areas, with default Assuming we do want this level of discoverability, there's a few option (and they aren't mutually exclusive to me).
For #3 one could imagine going in the direction of: struct HelixOption {
name: String,
doc: String,
type: HelixOptionType,
}
enum HelixOptionType {
Bool,
AnyString,
RegexpString(regexp),
AnyNumber,
RangeNumber(range),
} |
This comment was marked as resolved.
This comment was marked as resolved.
Was there a resolution to this? I'd expect |
In helix 22.12, in the documentation popup for
:set key field
is shown only for this command.I am not saying that it should show all the way down to
field
(3rd level), but it would be really nice if the documentation for thekey
could also be shown when it is entered.The text was updated successfully, but these errors were encountered: