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

ABI version mismatch for Neovim #26

Open
alexveden opened this issue Feb 20, 2025 · 3 comments
Open

ABI version mismatch for Neovim #26

alexveden opened this issue Feb 20, 2025 · 3 comments

Comments

@alexveden
Copy link
Contributor

After TS update, I started receiving this fail message with Neovim 0.10:

Error executing vim.schedule lua callback: ...c2d_1/share/nvim/runtime/lua/vim/treesitter/language.lua:33: ABI version mismatch : supported between 13 and 14, found 15

Looks like a regression, 2-3 weeks ago it was fine. Probably because new .c files was generated by tree sitter 0.25

@rpolasek
Copy link

rpolasek commented Feb 21, 2025

hi. i have the same problem...

that's from :checkhealth:

ERROR Parser "c3" failed to load (path: /home/xyz/.local/share/nvim/lazy/nvim-treesitter/parser/c3.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: ABI version mismatch for /home/xyz/.local/share/nvim/lazy/nvim-treesitter/parser/c3.so: supported between 13 and 14, found 15

and that's shows everytime i execute nvim:

Error executing vim.schedule lua callback: ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:80: Cannot find package "c3_lsp".                                                                                                                                          
stack traceback:                                                                                                                                                                                                                                                                  
        [C]: in function 'error'                                                                                                                                                                                                                                                  
        ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:80: in function 'get_package'                                                                                                                                                                                 
        ...on-tool-installer.nvim/lua/mason-tool-installer/init.lua:171: in function 'callback'                                                                                                                                                                                   
        ...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:87: in function 'step'                                                                                                                                                                                        
        ...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:96: in function 'run'                                                                                                                                                                                         
        ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:202: in function 'refresh'                                                                                                                                                                                    
        ...on-tool-installer.nvim/lua/mason-tool-installer/init.lua:201: in function ''                                                                                                                                                                                           
        vim/_editor.lua: in function ''                                                                                                                                                                                                                                           
        vim/_editor.lua: in function <vim/_editor.lua:0>

@cbuttner
Copy link
Contributor

I've reverted back the ABI version, can you please check if you still have this issue @alexveden @rpolasek?

@rpolasek
Copy link

rpolasek commented Feb 21, 2025

the api seems to be ok:

- OK Parser: c3                   ABI: 14, path: /home/rpolasek/.local/share/nvim/lazy/nvim-treesitter/parser/c3.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants