-
Notifications
You must be signed in to change notification settings - Fork 54
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
Blockquote incorrectly displayed when it contains a list #115
Comments
This will probably not be fixed since there's no easy(and consistent) way to get the indentation of the list without using the spaces. |
There's no text where the extmark can be placed so it shifts to the position where it can find some text. In this case, that's after the |
I don't know much about this stuff, but possible solutions:
|
If only it was that easy. It's a lot harder then that as the plugin needs to calculate where a list item starts(tree-sitter is unreliable here, so using it is simply not possible). Finding a proper Hopefully, this early version should work most of the time. Warning Items inside block elements may be larger then they appear. So, some edge-cases is bound to happen. |
Have you done all of these?
Describe the bug
Blockquote doesn't show in correct location when it contains a list item.
Neovim version
Are you using a distro?
No
To Reproduce
Steps to reproduce the bug:
markview.nvim
.markdown
document.Configuration table
If you have configured the plugin then you must share your config.
Expected behavior
![Screenshot 2024-08-19 at 8 16 43 PM](https://private-user-images.githubusercontent.com/721196/359324490-b7b93a87-c98d-4abb-b15f-d645a375ee5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDE3MDYsIm5iZiI6MTczOTM0MTQwNiwicGF0aCI6Ii83MjExOTYvMzU5MzI0NDkwLWI3YjkzYTg3LWM5OGQtNGFiYi1iMTVmLWQ2NDVhMzc1ZWU1Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNjIzMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMTk2NGZjZjk1ZjFlOTFkYWI2YmMwZjVjMzM2MDM5NDA2MTAzYWIwZGEwZTEzNjQ1YjZiZjRmOWVhMTMwZWMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5yEEWln3H3EhFyNuhQ7LzAjS076Sy1xMEz8IpRWAFxg)
Blockquote marker before list bullets.
Actual behavior
![Screenshot 2024-08-19 at 8 08 40 PM](https://private-user-images.githubusercontent.com/721196/359323204-f8ce4b23-279d-4dd6-83eb-453ab353716d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDE3MDYsIm5iZiI6MTczOTM0MTQwNiwicGF0aCI6Ii83MjExOTYvMzU5MzIzMjA0LWY4Y2U0YjIzLTI3OWQtNGRkNi04M2ViLTQ1M2FiMzUzNzE2ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNjIzMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZjA4MjFhZjE0M2ExMWU5YTk0YjQ4ZTcyMGQ4NmEyYzBkODZjM2M4ZjY0YTUwYzZmZDNjNTBiYjgzZTI3NzMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.uVE6Js6eB8ld9wJYjJ1bAd1oxlA2OeYu5w9TNGCRe_8)
Incorrect list/quotes.
Additional context
nvim-scrollviewnvim-scrollbar, but I disabled it, and the bug still occurs.Full list of plugins here:
The text was updated successfully, but these errors were encountered: