-
Notifications
You must be signed in to change notification settings - Fork 39
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
4 Space tabs does not align properly showing both icon and bullet dash #96
Comments
I noticed in the Wiki it mentions something about using 2 spaces instead of 4. The question is, does markview support 4 spaces or do we have to use 2 spaces? Here: https://github.com/OXY2DEV/markview.nvim/wiki/List%20items#-list-item-configuration Probably related to #59 |
@OXY2DEV so does that mean "officially" the plugin does not support 4 space indents? Given 4 space tabs is the default for markdown tools such as Obsidian, this may be a common "issue" users run into. An alternative that could probably work is being able to set in config the padding size similar to how you can with adding padding to headings. The problem for me is they are way too wide with my 4 space indents so if I could decrease the padding it should be sufficient. Is that something you would consider adding? Thanks! |
WARNING: This does not affect tree-sitter. Tree-sitter only considers list items with 2n number of spaces. Ref: #96
Check the wiki page for the new option. |
@OXY2DEV awesome! This is perfect. Thanks! |
Describe the bug
Showing both the icon/symbol for bullet as well as the actual text/dash for the bullet.
Are you using a distro?
No
To Reproduce
Steps to reproduce the behavior:
Here is what I am using for the list items config:
Here is the exact list item text to reproduce my screenshot:
Expected behavior
Should not see the "dashes" from the list items when indented.
Actual behavior
There is duplication of the symbol/icon for the bullet and still showing the "-" dash list item.
Screenshots
This is what it looks like:
Here is what my actual content looks like with markview disabled (same as markdown pasted above):
Neovim version
0.10.0
The text was updated successfully, but these errors were encountered: