dylan-lang / dylan-emacs-support

Emacs mode for indenting and highlighting Dylan code
GNU General Public License v2.0
27 stars 8 forks source link

indentation is broken for method-definers with adjectives #17

Closed hannesm closed 6 years ago

hannesm commented 10 years ago
define compiler-sideways method print-method
    (stream :: <stream>, o :: <&method>, #key outputter)
end;

the body currently wants to be aligned to method + 2, whereas my intuition is it should be indented by 2 only...

cgay commented 6 years ago

This works perfectly for me. "(stream" is indented 4 spaces and when I hit Enter at the end of that line I'm indented 2 spaces. Going to close this.