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

>&2 causes the rest of the file to be a quoted string #125

Closed
classabbyamp opened this issue Jun 8, 2022 · 2 comments · Fixed by #187
Closed

>&2 causes the rest of the file to be a quoted string #125

classabbyamp opened this issue Jun 8, 2022 · 2 comments · Fixed by #187

Comments

@classabbyamp
Copy link

Using neovim 0.7.0 on void linux, with the latest treesitter & grammars installed.

When treesitter highlighting is enabled, the >&2 in printf >&2 "something" causes treesitter to fail to parse the next quoted string properly, leading to an erroneous quote imbalance and the rest of the file to be highlighted like a quoted string.

Treesitter highlighting enabled:
image

Disabled:
image

@black-desk
Copy link

For more information check #140 (comment)

@Ordoviz
Copy link

Ordoviz commented Apr 16, 2023

duplicate of #72

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

Successfully merging a pull request may close this issue.

3 participants