hhvm / hack-mode

A Emacs major mode for editing Hack code
GNU General Public License v3.0
11 stars 11 forks source link

Indent method access on a newline #9

Closed Wilfred closed 5 years ago

Wilfred commented 6 years ago
$foo = bar()
  ->baz();

Currently we're not indenting the second line.

jra3 commented 6 years ago

Yes indeed. I had a workaround for this in the old mode, but it was based on syntax set by c-mode.