Comments (3)
These trailing newlines are an unfortunate consequence of details of how let-bindings are formatted. I would like to eliminate them, but have not had the time (It is not an entirely trivial code change.)
from ocamlformat.
Actually, it was pretty trivial.
from ocamlformat.
@jberdine thank you very much for the quick fix!
from ocamlformat.
Related Issues (20)
- BUG: generating invalid ocaml syntax. HOT 6
- BUG: bad formatting, trailing whitespace HOT 2
- BUG: comment changed HOT 1
- BUG: gratuitous single space inserted before signature label HOT 2
- Bug: drops comments before begin with exp-grouping=preserve HOT 1
- How to wrap documentation comments? HOT 3
- Bug: `BUG: comment changed` HOT 1
- Bug: `--parse-docstrings` violates margin HOT 1
- Bug: Cannot process "src/lib_epoxy_tx/tx_rollup.ml" HOT 1
- Bug: Infinite loop occurs when multiple comments are between `|>` and `let*`
- Bug: Package conflict with `ocamlformat-lib <0.25.1` HOT 4
- Bug: Empty comment block recognized as documentation comment HOT 1
- Feature request: Experimental effect syntax support? HOT 2
- Bug: ...
- Question: Why the ocamlformat plugin for vim stop me from storing me code? HOT 6
- Bug: Ast change caused by attribute on lazy let. HOT 1
- Bug: Incorrect indentation of records with trailing comments HOT 1
- Bug: #2441 regression?
- Bug: max-indent for lambdas is not respected when ocp-indent-compat=false HOT 1
- SPAM
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 ocamlformat.