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

nvim-treesitter-context error #4496

Closed
AhmedLilah opened this issue Feb 9, 2024 · 3 comments
Closed

nvim-treesitter-context error #4496

AhmedLilah opened this issue Feb 9, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AhmedLilah
Copy link

Problem description

I added these lines to my lunar vim config.lua file

lvim.plugins = {
        {
                "nvim-treesitter/nvim-treesitter-context",
        },
}

and I got this error that when i open a file and start to move in it

Error detected while processing CursorMoved Autocommands for "*":
Unable to load context query for cpp:
...s/Neovim/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 301 for language cpp

LunarVim version

release-1.3/neovim-0.9-d1c1bac

Neovim version (>= 0.9.1)

NVIM v0.9.5

Terminal name

Windows Terminal, powershell

Operating system/version

windows 10

Steps to reproduce

No response

Screenshots

image

@AhmedLilah AhmedLilah added the bug Something isn't working label Feb 9, 2024

This comment was marked as outdated.

@github-actions github-actions bot added stale and removed stale labels Mar 31, 2024

This comment was marked as outdated.

@github-actions github-actions bot added the stale label May 28, 2024
@kylo252
Copy link
Collaborator

kylo252 commented May 28, 2024

works fine for me on master with Neovim v0.10.0, let me know if you still encounter any issues.

@kylo252 kylo252 closed this as completed May 28, 2024
@kylo252 kylo252 removed the stale label May 28, 2024
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