....I found this too -> it inserts a load of stuff into history on save
that I didn't want there...
it's much better if you don't enable g:elm_format_autosave and instead get
it to run ElmFormat on save - with something like the following in your
vimrc:
au BufWrite *.elm
\ execute 'ElmFormat'
Cheers
On Friday, February 3, 2017 at 3:22:04 PM UTC, Dave Rapin wrote:
>
> I'm using elm-vim too, but it's a bit off at times (like a 4 space
> indent within a let / in block instead of the 2 space it does
> everywhere else). Not a fan of using elm-format on save from within
> vim, it's a bit awkward and messes with your undo history, but yes I
> could totally use it from the CLI...
>
> On Fri, Feb 3, 2017 at 10:17 AM, Eduardo Cuducos <[email protected]
> <javascript:>> wrote:
> > Hi Dave,
> > I use vim with vim-elm (https://github.com/ElmCast/elm-vim) and with
> > elm-format, it's awesome!
> > Cheers,
> > On Fri, Feb 3, 2017 at 12:48 Dave Rapin <[email protected] <javascript:>>
> wrote:
> >>
> >> I'm using Vim. Is there a cli linter? That would be great!
> >>
> >>
> >> On Thursday, February 2, 2017 at 11:53:59 AM UTC-5, Rupert Smith wrote:
> >>>
> >>> I'm currently using Atom.
> >>>
> >>> I see lots of new features are getting added to the Light-Table plug
> in
> >>> though... (Right now I want to be able to preview what the Elm docs
> will
> >>> look like).
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Elm Discuss" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected] <javascript:>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to a topic in the
> > Google Groups "Elm Discuss" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/elm-discuss/5eEbnwzbQvo/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> > [email protected] <javascript:>.
> > For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.