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

Fix rulers #182

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Fix rulers #182

merged 3 commits into from
Feb 26, 2024

Conversation

predragnikolic
Copy link
Member

closes #180

@rchl
Copy link
Member

rchl commented Feb 13, 2024

description should also be updated

Copy link

@masterdigger masterdigger left a comment

Choose a reason for hiding this comment

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

All in place!

@@ -217,7 +217,7 @@
"default": "auto"
},
"rulers": {
"markdownDescription": "Columns in which to display vertical rulers.\n\nAs of ST 4133 column and style (see `ruler_style`) can be paired.\n\ne.g.: `\"rulers\": [[80, \"solid\"], [100, \"dotted\"]]`",
"markdownDescription": "Columns in which to display vertical rulers. Each entry may also be a\n\nlist of the column, the ruler style and optionally the ruler width, for\n\nexample: `[[80, \"solid\", 2], 78, [90, \"dotted\"]]`",
Copy link
Member

@rchl rchl Feb 26, 2024

Choose a reason for hiding this comment

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

We shouldn't be including newlines in the middle of the sentence. We should let it wrap by itself.

@@ -217,7 +217,7 @@
"default": "auto"
},
"rulers": {
"markdownDescription": "Columns in which to display vertical rulers.\n\nAs of ST 4133 column and style (see `ruler_style`) can be paired.\n\ne.g.: `\"rulers\": [[80, \"solid\"], [100, \"dotted\"]]`",
"markdownDescription": "Columns in which to display vertical rulers. Each entry may also be a list of the column, the ruler style and optionally the ruler width, for example: `[[80, \"solid\", 2], 78, [90, \"dotted\"]]`",
Copy link
Member

@rchl rchl Feb 26, 2024

Choose a reason for hiding this comment

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

Note that if we want to separate paragraphs with \n\n then that's fine. I just meant hard wrapping at random point in the sentence.

@predragnikolic predragnikolic merged commit c757377 into master Feb 26, 2024
@predragnikolic predragnikolic deleted the fix/rulers branch February 26, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning when "ruler_width" is used in `"rulers"
3 participants