Opening a C++ file requires the C++ grammar to be installed but it seems that another grammar is also required in order to activate tree-sitter.
Even after an emacs restart, trying to open a C++ file throws this error:
Warning (treesit): Cannot activate tree-sitter, because language grammar for c is unavailable (not-found): (libtree-sitter-c libtree-sitter-c.0 libtree-sitter-c.0.0 libtree-sitter-c.so libtree-sitter-c.so.0 libtree-sitter-c.so.0.0) No such file or directory
Opening a C++ file requires the C++ grammar to be installed but it seems that another grammar is also required in order to activate tree-sitter.
Even after an emacs restart, trying to open a C++ file throws this error:
Setup code: