Comments (1)
This is intentional: try
was removed from Gleam a few minors ago and we fully removed the syntax from the parser in https://github.com/gleam-lang/tree-sitter-gleam/releases/tag/v0.32.0 (23d2b89).
In general you can't change the revision of a tree-sitter grammar repository without also adjusting the highlights for the new changes to the parser. We maintain some example highlights in the repo under queries/highlights.scm
that can be used as inspiration/suggestions when updating highlights in Helix (under runtime/queries/gleam/highlights.scm
) or nvim
from tree-sitter-gleam.
Related Issues (20)
- Support scientific notation for floats HOT 1
- Support `panic` and `let assert` HOT 4
- use expressions now support patterns
- Parser changes HOT 2
- Add support for annotating argument in use() syntax HOT 2
- Indentation with case statements HOT 5
- New attribute syntax
- New external type syntax
- New todo and panic message syntax
- Parsing error with new `@external` syntax HOT 1
- Inconsistent syntax highlighting HOT 2
- Changes for Gleam v0.32
- Highlighting breaks with Helix editor HOT 4
- Add reserved keywords HOT 2
- Two dots in guard clause cause syntax highlighting issue in Helix HOT 4
- panic() cause a syntax highlight issue on nvim and hx HOT 2
- Highlight tests fail with >=tree-sitter 0.21 HOT 2
- Implement indents.scm file HOT 2
- Functions sometimes matched as properties HOT 3
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 tree-sitter-gleam.