vim-reason-plus icon indicating copy to clipboard operation
vim-reason-plus copied to clipboard

Code indentation

Open theJian opened this issue 7 years ago • 2 comments

Can we have a default code indentation option for reasonML files?

theJian avatar Jan 28 '18 05:01 theJian

@theJian can you elaborate?

alexeygolev avatar Jan 15 '19 09:01 alexeygolev

I don't know if this is the same thing as @theJian is thinking about, but I am reading Web Development with ReasonML and I have this code:

switch (calcButton) {
  | Some(element) =>
    D.EventTarget.addClickEventListener(
      calculate, Elem.asEventTarget(element))
    | None => ()
  };

I saw that the legacy reason plugin integrates with refmt. Do we have anything like that for this plugin?

AZanellato avatar Sep 27 '19 01:09 AZanellato