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)
- undefined symbol: static_assert for cpp HOT 1
- installed parsers can fail randomly with "uv_dlopen: no error" HOT 21
- Segmentation fault on startup (bc. nvim_treesitter not found in runtime path?) HOT 4
- Uclosed parentheses cause incorrect indentation level in python HOT 2
- Error while installing any parser HOT 3
- Latex `@nospell` HOT 1
- lua: add indentation on next line without end
- Error in Treesitter Decoration Provider When Running `:help` in Neovim HOT 1
- Python method/attribute that shares a name with a builtin type is highlighted as a `@type.builtin.python` HOT 1
- Problems with Tsserver and HTML HOT 1
- Long paragraph leads to breakdown of highlight. HOT 9
- Long paragraph leads to failure of markdown highlight. HOT 4
- Healthcheck Fail: Query error at 2:4. Invalid node type "delimiter" HOT 1
- Error on Health Check: "errors found in the query, try to run :TSUpdate {lang}" HOT 3
- Undo leads to markdown highlight failure. HOT 5
- Doc: deprecated tracking issue for language support still in REAMDE HOT 1
- Bug: Repeating error message after trying to open neovim's help page HOT 1
- r highlighter keeps throwing error output HOT 1
- Unexpected active the treesitter during lua function HOT 4
- [Bug]: Vue <Tag.Field><Tag.Field/> Highlighting anomaly. HOT 9
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.