jscheid / dtrt-indent

A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files.
187 stars 31 forks source link

Add enh-ruby-mode to dtrt-indent-hook-mapping-list #44

Closed hlissner closed 6 years ago

hlissner commented 6 years ago

Adds support for enh-ruby-mode.

We could probably do the same for crystal-mode, since it is heavily ruby inspired:

+  (crystal-mode ruby crystal-indent-level)

What do you think?

rrthomas commented 6 years ago

Thanks for this. Re. crystal-mode, sure if you think it will work.

hlissner commented 6 years ago

Thanks! I'll do some more testing (on crystal-mode) first and get back to you.