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

wiki_link is in highlights.scm but doesn't appear to be compiled in? #118

Open
SergioBenitez opened this issue Oct 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@SergioBenitez
Copy link

Hello!

I'm attempting to use this parser/grammar directly in a project. I'm getting an error when loading the highlights query due to an undeclared wiki_links node. It seems to me that the provided highlights.scm for the inline parser defines a capture for the node type, but the provided compiled parser and scanner don't actually define the node type. Am I understanding correctly?

If so, would it possible to have these two match, either by removing the wiki_link highlight or having the provided compiled artifacts be compiled with wiki_link?

Thank you!

@SergioBenitez SergioBenitez added the bug Something isn't working label Oct 6, 2023
@MDeiml
Copy link
Collaborator

MDeiml commented Nov 5, 2023

You are correct. You can fix this either by removing the 'wiki_linkparts from your.scm` file or by enabling the wiki-link extension.

Editing the .scm file is the easier solution. At the moment these extensions do not really play nicely with any editors. See the README for more info, or #120 for how to maybe do this for neovim.

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