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

Term link throws a treesitter query "invalid structure" error #733

Closed
2 tasks done
fkkehlet opened this issue Feb 4, 2023 · 6 comments
Closed
2 tasks done

Term link throws a treesitter query "invalid structure" error #733

fkkehlet opened this issue Feb 4, 2023 · 6 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@fkkehlet
Copy link

fkkehlet commented Feb 4, 2023

Prerequisites

  • I am using either 0.7 stable with the 0.0.12 tag or the latest compiled Neovim version
  • I am using the latest version of the plugin

Neovim Version

v0.8.1

Neorg setup

require'neorg'.setup {
load = {
['core.defaults'] = {},
},
}

Actual behavior

$ Term
Lorem ipsum

{$ Term}

When pressing enter on a term link as written above, this error appears:

Screenshot 2023-02-04 at 01 32 54

Expected behavior

Go to the term definition

Steps to reproduce

It happens in all of my files, even newly created ones

Potentially conflicting plugins

No response

Other information

MacOS !!

Help

None

Implementation help

No response

@fkkehlet fkkehlet added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Feb 4, 2023
@fkkehlet
Copy link
Author

fkkehlet commented Feb 4, 2023

Looks like I was using Neovim 0.8.1, I will try updating to 0.8.3 to see if it helps.

Edit: it did not.

@fkkehlet
Copy link
Author

fkkehlet commented Feb 4, 2023

So it seems footnotes aren't working either, but headings do? When running sync-parsers, I get a host of errors, it may be related to this...

Screenshot 2023-02-04 at 01 58 20

@fkkehlet
Copy link
Author

fkkehlet commented Feb 4, 2023

Even after a successful compilation following the advice from nvim-neorg/tree-sitter-norg#7 (comment) the treesitter error persists :(

@Chris-Mooney852
Copy link

I'm getting the same error
image

@vhyrro
Copy link
Member

vhyrro commented Apr 27, 2023

Sorry for taking so long for a fix! Should be good now as of 3.2.2, works on my end at least :)

@vhyrro vhyrro closed this as completed Apr 27, 2023
@fkkehlet
Copy link
Author

Thanks vhyrro! I really do appreciate all the work you do, so don't worry about it taking long!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

3 participants