-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat: add extmarks for markdown list markers #47
base: master
Are you sure you want to change the base?
Conversation
------------------------------------------------------------------------------ | ||
list_marker_string *list_marker_string* | ||
|
||
Specifies the string that is used to display list markers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mention that it replaces all kinds of list items?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by all kinds of list items
? All types of list item markers?
IMHO, list markers
already mean all.
Co-authored-by: Benoit de Chezelles <[email protected]>
I'm okay with adding this, but it should work for all filetypes, not just Markdown. |
@lukas-reineke I don't know what we should do about neorg and org. Neorg's unordered list items look like this and I don't think there is value in substituting them all.
Org treesitter doesn't differentiate between ordered and unordered lists, so it will not be possible. |
I found a bug that when you horizontally scroll the window and the first column is invisible, the extmark is still shown on the first visible column. Will look into it when I have time. |
iirc Neorg has it's own conceal module included that substitutes them. |
#46