Skip to content

Treesitter: Error during download, please verify your internet connection #847

Closed
@nfgferreira

Description

@nfgferreira

Describe the bug

The treesitter instalation gave the error above for me.

To Reproduce

Install Kickstart and run Neovim

Desktop

  • OS: WSL, Ubuntu
  • Terminal: Stock terminal

Neovim Version

0.9.5

Additional notes

The problem was fixed for me after adding require("nvim-treesitter.install").prefer_git = true as described here: [https://github.com/nvim-treesitter/nvim-treesitter/issues/3232]

I suspect that the issue may have happened because I am using a corporate PC with some network access limitations. I think it is worth mentioning in the good description provided by the init.lua file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions