Neovim tree-sitter error when loading julia file: invalid node type "function_expression"

I don’t know why, but I had the following Lazy configuration for nvim-treesitter

  {
    -- Highlight, edit, and navigate code
    'nvim-treesitter/nvim-treesitter',
    dependencies = {
      'nvim-treesitter/nvim-treesitter-textobjects',
    },
    build = ':TSUpdate',
  },

The current version of nvim-treesitter/nvim-treesitter-textobjects has the following line

which provokes the error.

I just deleted nvim-treesitter/nvim-treesitter-textobjects from the dependency and uninstalled and now I don’t get the error.

There is also an issue open

1 Like