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

languages/lua: fix lua highlighting in several plugins #233

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

FrothyMarrow
Copy link
Contributor

Include Lua parser by default if treesitter is enabled. There are several plugins that depend on the Lua parser to provide syntax highlighting for example noice and telescope. If not included, it throws the following unhelpful error:
query: invalid node at position ... for language lua.

Also an alternative is to set it per plugin that depends upon it. Which might be more "right" way to handle this but is also more prone to slip pass the reviews. I am open to suggestions on how to handle it.

@NotAShelf NotAShelf merged commit 94f18af into NotAShelf:v0.6 Feb 20, 2024
7 checks passed
@FrothyMarrow FrothyMarrow deleted the fix-lua-highlighting branch February 20, 2024 16:20
bloxx12 pushed a commit to bloxx12/nvf that referenced this pull request Sep 29, 2024
languages/lua: fix lua highlighting in several plugins
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 this pull request may close these issues.

2 participants