TyOverby / ares

A Lisp made for easy integration with Rust.
9 stars 1 forks source link

Rustfmt #44

Open TyOverby opened 9 years ago

TyOverby commented 9 years ago

I'm using rustfmt to format the code. Ideally, you should run this before every push, but I don't really care that much.

hauleth commented 8 years ago

You can run rustfmt on every save. It is fast enough to do not disturb.

TyOverby commented 8 years ago

Unfortunately I have Vim set up to save every half-second. It might be annoying if rustfmt triggers in the middle of some editing...

hauleth commented 8 years ago

Isn't it better to enable persistent undo than saving each half-second?

TyOverby commented 8 years ago

I like being able to alt-tab and run builds without having to save manually.

I think that manually hitting save is pretty archaic and should go away now that we have SSDs that are essentially 0-latency.

hauleth commented 8 years ago

My flow is quite different:

The only thing that I am thinking about is to use NeoVim :terminal instead of Vimux, but it works for me now.

EDIT: You can save ex. when losing focus.

TyOverby commented 8 years ago

I'm planning on switching to NeoVim :terminal too, but I'll probably keep save-on-edit even when I do.

I really like not having to think about "is that file on my hard drive up to date with what I have in vim?" because it literally always is.