-
Notifications
You must be signed in to change notification settings - Fork 73
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 integration broken on Javascript #307
Comments
Just merged this: Did it fix it? |
It did! Fast work -- thank you! I was just tracking it down, but seems like disabling treesitter integration didn't solve it? Just made it less frequent. Bit odd. Anyway, fixed now, thank you! |
Im still experiencing this bug when the cursor is at the opening or close of a parenthesis |
@riverajohan have you done :TSUpdate? |
I've got similar issue after update #306. I fixed it by using |
Yes I did. Then uninstall / install with no luck. I just reverted to a previous version of the plugin. Im using Lunarvim maybe its related to that but im ok not using the latest update. Thanks |
can confirm: matchup broken in javascript.
edit: |
I'm seeing a very similar issue that shows up on
|
Seeing same issue in c files with treesitter + matchup enabled |
C is fixed now |
I'm seeing apparently the same problem while opening the config.lua (lunarvim) |
You need to ensure your plugins are up to date and tree-sitter parsers as well with |
My parsers are up to date and I still can't use the plugin in JavaScript files as it triggers the error on every cursor move |
can't reproduce in a js file - a reproducer w/ steps would be useful |
Just checked: Forcing nvim-treesitter to latest commit, followed by TSUpdate seems to have fixed the issue. So if someone else is experiencing similar issues, it is worth to have a look at nvim-treesitter plugin status |
right...updating it to the latest commit = updating the plugin |
My bad. Turned out I can't lazy load |
Need to run :PlugUpdate and :TSUpdate to ensure JavaScript files don't produce a lot of junk at top of screen: andymass/vim-matchup#307 Make vim-matchup use popup method at top of screen with syntax highlighting even though it make degrade performance.
I'm getting this same type of error with lua files |
I can confirm this is fixed. |
I'm still getting this error |
Validate you have an updated version of treesitter. In my case I was using Lunarvim on the 1.3 release. That release have the plugins version locked to a pretty old version and that was the cause for the error for me. I moved to the master branch and after the update the issue was fixed. |
@riverajohan Hi! Thanks |
I changed the commit SHA to this one How may I change the version/SHA? |
What I did was installing lunarvim from the |
@riverajohan hi! Do you mean the nightly version? Thanks |
Yes |
Explain the issue
When I open a JS file, I get constant popup errors:
Latest version from this repo. Disabling the treesitter integration fixes it.
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
I don't have bandwidth for a minimal repro right now, let me know if it's not clear from the backtrace what's happening.
The text was updated successfully, but these errors were encountered: