Giter VIP home page Giter VIP logo

Comments (8)

clason avatar clason commented on June 17, 2024

No details, no repro, nothing we can do.

A global install of treesitter works fine at least for me.

from nvim-treesitter.

clason avatar clason commented on June 17, 2024

I recommend opening an issue with mason (and a lot more details).

from nvim-treesitter.

glyh avatar glyh commented on June 17, 2024

You can't reproduce this unless you have the same network condition in China. Also this is not a issue with mason. Rather being treesitter's install.js. But here we may have a workaround.

from nvim-treesitter.

clason avatar clason commented on June 17, 2024

I have been there often. While I feel your pain, it's still out of scope for this plugin, especially without any details to make this actionable.

from nvim-treesitter.

clason avatar clason commented on June 17, 2024

Especially since we have a bunch of options already to work around network issues.

from nvim-treesitter.

glyh avatar glyh commented on June 17, 2024

A simple reproduce just from tree-sitter-fsharp, where the parser is compiled from source.

local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
parser_config.fsharp = {
  install_info = {
    url = "https://github.com/Nsidorenco/tree-sitter-fsharp",
    branch = "develop",
    files = {"src/scanner.cc", "src/parser.c" },
    generate_requires_npm = true,
    requires_generate_from_grammar = true
  },
  filetype = "fsharp",
}

BTW, I have already set the github download link with mirrors, but that can't prevent a script invoked by npm willing download files from github.

from nvim-treesitter.

clason avatar clason commented on June 17, 2024

Nothing we can do about that. That is on the parsers.

Especially if it is not a parser we bundle; we can offer no support for those. (In fact, we would not consider adding this parser for this very reason.)

from nvim-treesitter.

glyh avatar glyh commented on June 17, 2024

Okay, I'll file an issue at their end.

from nvim-treesitter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.