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

parse error for indent text block #30

Closed
jdhao opened this issue Oct 9, 2022 · 1 comment
Closed

parse error for indent text block #30

jdhao opened this issue Oct 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jdhao
Copy link

jdhao commented Oct 9, 2022

The display here is not right compared to builtin help file.
Maybe the text block should be rendered as code blocks.

@justinmk
Copy link
Member

justinmk commented Oct 9, 2022

Maybe the text block should be rendered as code blocks.

Definitely would be great to have block indentation indicated by the parse tree #20

Meanwhile, most pages are rendered in fixed (preformatted) layout, like a codeblock. There is some other bug happening at https://neovim.io/doc/user/usr_25.html#_virtual-replace-mode
Edit: it's the isolated | chars confusing the parser.

Thanks for reporting!

@justinmk justinmk added the bug Something isn't working label Oct 9, 2022
justinmk added a commit to justinmk/tree-sitter-vimdoc that referenced this issue Oct 9, 2022
justinmk added a commit to justinmk/tree-sitter-vimdoc that referenced this issue Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants