hvesalai / emacs-scala-mode

The definitive scala-mode for emacs
http://ensime.org
GNU General Public License v3.0
361 stars 68 forks source link

Indentation of lists using cons (::) #87

Closed tbje closed 9 years ago

tbje commented 9 years ago

Wanted:

val list =
  "a" ::
  "b" ::
  Nil

Current indentation:

val list =
  "a" ::
"b" ::
Nil
hvesalai commented 9 years ago

Hi, this is supported. Just use (configure) the proper indentation mode. See the documentation on run-on lines.