Comments (4)
This is caused by incompatible tree-sitter version release.
You can try this
cargo install ast-grep --locked
from ast-grep.
Will there be a new release which fixes this?
from ast-grep.
nope, this is tree-sitter's issue. Tree-sitter's version does not follow semver.
Instead, use cargo install --locked
is recommended.
from ast-grep.
It won't be so easy for me. Our package pulls down all dependencies in a vendor tarball because the build system doesn't support having an internet connection. I'll try to research if I can somehow tell the service to use the locked versions.
from ast-grep.
Related Issues (20)
- [feature] Language request: Elixir HOT 2
- [bug] LSP gets "message" with $MATCH references as is
- [bug] LSP does not work when rule has `files:` HOT 2
- [feature] Do not fail on missing directories (e.g. `utilDirs:`) or create `.keep` file in new dirs HOT 4
- [bug] qualified_identifier match in C++ doesn't seem to work? HOT 2
- [bug] ast-grep messes up newlines with C/C++ include directives HOT 2
- [feature] Support `ast-grep-ignore` in Python API HOT 2
- [feature] support replacing only the first instance of a regex HOT 3
- [feature] allow global utilities to provide meta-variables to their users
- [feature] allow utilities to accept arguments HOT 1
- [feature][new language] Add support for SQL HOT 1
- [feature] improve HTML language extraction for ts/scss
- add test for extract html
- [bug] Missing macOS build for Python 3.10
- support finding injected code in `run` with specified language
- add embedded language section in custom language setting
- support report injected language issue in `scan`
- A way to specify which files to be scanned in sgconfig.yml or rule.yml HOT 2
- [bug] LSP in 0.25.0 does not work if config file is outside the workspace HOT 2
- [bug] LSP propose code action "Fix with ast-grep" on every line 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 ast-grep.