Christophe Troestler

Results 145 comments of Christophe Troestler

This is just because it “thinks” you will continue the previous expression. For example, in your second case: ```ocaml let x = 1 + 1 ```

It would indeed probably be better that, after a newline, the cursor be positioned at the level of the parent expression (until one type something so that SMIE can decide)....

@monnier Thanks for the explanations. Modifying `((eq token 'empty-line-token) ";")))` works except at the end of file (where the token `'basic` is given to the rules function). Not sure to...

Thanks—spot on. The only remaining problem is comments at the end of a buffer (or before `end` in `module ... end`). The rule function is also triggered with `:elem`, `'basic`...

On 8 December 2019 at 19:45 CET, monnier wrote: > >> Thanks—spot on. The only remaining problem is comments at the end of >> a buffer > > I thought...

On Tue, 18 Mar 2014 05:03:21 -0700, Sebastian Wiesner wrote: > Tuareg indents module definitions as follows currently: > > module Foo = > struct > end > > Notice...

I agree `sig` and `struct` should behave the same. No time to look into this ATM though.

The indentation of `sig` now is ```ocaml module type Self = sig include Printable.S end ```

Isn't this remark pertaining to https://github.com/ocaml/tuareg/issues/72 ? In any case, you should install `tuareg` using opam — thus in your local directory — and set the path so it overrides...

@monnier I think @william3 wants the indentation to be ``` ocaml let () = if a then ( b ) else ( c ) ``` regardless of whether parentheses or...