Comments (8)
No details, no repro, nothing we can do.
A global install of treesitter works fine at least for me.
from nvim-treesitter.
I recommend opening an issue with mason (and a lot more details).
from nvim-treesitter.
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.
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.
Especially since we have a bunch of options already to work around network issues.
from nvim-treesitter.
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.
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.
Okay, I'll file an issue at their end.
from nvim-treesitter.
Related Issues (20)
- Rust Ok and Err Over Indent
- Downloading .so files, instead of .dll files on windows HOT 1
- Angular Inline Template HTML highlighting. HOT 2
- Python builtin @staticmethod has different highlighting than @classmethod and @property HOT 1
- Support # style comments for injected langs in nix files HOT 1
- `markdown_inline` doesn't show INI fenced code blocks HOT 26
- Latex weird highlighting HOT 7
- Treesitter error in help file HOT 13
- Weird LaTeX highlighting around parentheses, brackets, and braces HOT 1
- Can't install parsers on Windows HOT 4
- Unable to install hyprlang parser HOT 2
- query: invalid node type at position HOT 1
- JS/TS/ECMA css`<template>` injections not highlighting HOT 2
- query.lua:248: Query error at 58:2. Invalid node type "modeline": HOT 1
- CPP namespace indentation not counted HOT 11
- Solidity Highlighting broken HOT 1
- nvim-treesitter[c]: Failed to execute the following command HOT 2
- Disable injections for large files HOT 5
- Python incorrectly indents brackets HOT 4
- Python Tree-sitter @spell highlights string prefixes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-treesitter.