Treesitter ABI version mismatch

What does this mean?

I get this when I open a javascript file.
My setup:

npm install -g typescript-language-server
:PlugUpdate
:TSUpdate all
    require'nvim-treesitter.configs'.setup {
        -- one of "all", "maintained" (parsers with maintainers), or a list of languages
        ensure_installed = { "c", "cpp", 'bash', "lua", "typescript", "javascript", "html", "json" , "python", },
        highlight = {
            enable = true,
        },
    }

EDIT:
marked solution but solution may also need:
Treesitter ABI version mismatch - #3 by zegervdv

You probably need to upgrade your neovim. If you compiled from scratch make sure to do a make distclean before compiling.

1 Like

And after that a :TSUninstall all and install your treesitter grammars again (e.g. :TSInstall python)

2 Likes

Also, make sure to update the nvim-treesitter plugin itself, or else it will try to re-install the old parsers again. That had me stuck for a while.