Comments (2)
Sorry to butt in, I'm not the maintainer of this grammar, but is it not supported? Looks like it is getting highlighted correctly in your code there, and GitHub uses tree sitter.
from tree-sitter-gleam.
I have just created a test for it:
$ npm run test
> [email protected] test
> tree-sitter test
expressions:
(...)
✗ Use
(...)
1 failure:
expected / actual
1. Use:
(source_file
(use
(function_call
(identifier)
(arguments)))
(use
(identifier)
(function_call
(identifier)
(arguments)))
(use
(identifier)
(identifier)
(identifier)
(identifier)
(identifier)
(function_call
(identifier)
(arguments)))
(use
(tuple_pattern
(identifier)
(identifier))
(identifier))
(use
(ERROR <---- this is red :)
(identifier))
(record_pattern
(constructor_name)) <--- red until here
(identifier) <---- this is green
(type
(type_identifier)) <--- green
(function_call
(identifier)
(arguments))))
In both helix and emacs (and I've pulled grammars for both I get):
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
- 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
- This query could not be parsed "try" HOT 1
- 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 5
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.