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

Nested list highlight broken for tabs #631

Open
rishabh-ranjan opened this issue May 26, 2023 · 2 comments
Open

Nested list highlight broken for tabs #631

rishabh-ranjan opened this issue May 26, 2023 · 2 comments

Comments

@rishabh-ranjan
Copy link

nested lists are highlighted correctly for 4 spaces indent, but not for tab indent:
image

@alerque
Copy link
Member

alerque commented May 27, 2023

Feel free to submit a PR. Also be aware that not all Markdown implementations support tab sublist indentation and also even fewer of them accept mixed-mode indentation. But yes tabs are usually considered the equivalent of 4 spaces for about 3/4 of implementations. c.f BabelMarkIII

@rishabh-ranjan
Copy link
Author

in that case, maybe it will be better to set tab to 4 spaces via vim markdown. this would be as simple as adding "setl tabstop=4 shiftwidth=4 expandtab" in indent/markdown.vim. @alerque if you approve i can submit a pr for this

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