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

Prompt specifiers: documentation improvements #926

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Prompt specifiers: documentation improvements #926

merged 1 commit into from
Apr 18, 2024

Conversation

Uaitt
Copy link
Contributor

@Uaitt Uaitt commented Apr 18, 2024

While reading the docs for specifying your own custom prompt, I noticed a few issues.

First, the placeholder for specifying the indentation level and the line number are wrong. *NN*i does not work, nor *NN*n (replacing NN with digits of course). The right placeholders are actually %NNi and %NNn.

Additionally, it took me a lot of time to understand that NN meant that I had to use digits and not actual NN in the placeholder 🤣. I have added a brief line for both the placeholders that actually states that you should use digits and not the raw NN.

PR's open for discussion 😃.

Copy link
Member

@tompng tompng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! thank you

@tompng tompng merged commit e8ea8f2 into ruby:master Apr 18, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants