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

treesitter query.lua and context error while processing CursorMoved #186

Closed
webmandman opened this issue Nov 9, 2022 · 4 comments
Closed
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@webmandman
Copy link

webmandman commented Nov 9, 2022

neovim version: v0.8.0-v.0.8.0
build type: Release

2022-11-09-063300_1584x519_scrot

I've tried :TSUpdateSync but when I select words with SHIFT+8 this error occurs and same occurs when I use n or p to move to the next or prev match.

When I disable context with :TSContextDisable I can move the cursor around without error.

@lewis6991 lewis6991 added bug Something isn't working invalid This doesn't seem right and removed bug Something isn't working labels Nov 22, 2022
@lewis6991
Copy link
Member

This looks unrelated to this plugin. The error is coming from an outdated query.

@marco-silva0000
Copy link

@webmandman how did you fix this? I'm having the exact same issue

@lewis6991
Copy link
Member

Update your treesitter plugins and/or your Neovim version.

@marco-silva0000
Copy link

I had everything up to date, turned out to be this: nvim-treesitter/nvim-treesitter-angular#3

using the latest comment there fixed it for me. Ty for the quick reply @lewis6991

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants