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

go. considered bullet point #152

Closed
avidseeker opened this issue Jun 5, 2024 · 8 comments
Closed

go. considered bullet point #152

avidseeker opened this issue Jun 5, 2024 · 8 comments

Comments

@avidseeker
Copy link

Lorem ipsum dolor sit amet, consetetur sadipscing elitr. We've got a long way to
go. Lorem ipsum dolor sit amet,<cursor>

Hitting enter at location results in:

Lorem ipsum dolor sit amet, consetetur sadipscing elitr. We've got a long way to
a. Lorem ipsum dolor sit amet,
b. 
@harshad1
Copy link
Collaborator

Determining what is and is not a bullet is a heuristic.

IMO If you are going to manually wrap lines this kind of issue is unavoidable.

One way around this would be to allow a user to disable alphabetical bullets (and any other bullet type if required).

@avidseeker
Copy link
Author

This kind of issue is unavoidable

If I'm using sentences that end at a single letter, that might be true. But that's not usually the case.

Why is "go" considered a bullet point anyways?

@harshad1
Copy link
Collaborator

harshad1 commented Jul 20, 2024 via email

@avidseeker
Copy link
Author

How usual having +26 entries in alphabetic list? Is it even a commonmark standard?

It makes more sense disabling aa. entries.

@harshad1
Copy link
Collaborator

Lettered lists are not supported by markdown at all :)

So our options are:

  1. Add an option to disable letters entirely (I like this)
  2. Add an option to specify a maximum letter number

Anything else?

@avidseeker
Copy link
Author

If option2 is implemented, then option1 is as easy as setting max_letter_num=0

@harshad1
Copy link
Collaborator

harshad1 commented Aug 3, 2024

Please see #153

Turns out we already have g:bullets_max_alpha_characters

Set it to 0 to disable alphabetical lists

@harshad1
Copy link
Collaborator

harshad1 commented Aug 3, 2024

In conclusion

let g:bullets_max_alpha_characters = 1
let g:bullets_enable_roman_list = 0

@harshad1 harshad1 closed this as completed Aug 3, 2024
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

No branches or pull requests

2 participants