Emacs ruby-mode indentation behavior

前端 未结 3 1863
悲哀的现实
悲哀的现实 2020-12-14 20:33
class Foo
  attr_accessor :a,
                :time, # ms since epoch
                :b,
                :c
end

In text mode, the variables listed after \'a\'

3条回答
  •  猫巷女王i
    2020-12-14 21:02

    When using Emacs 24.4 or newer, your example will be indented like this by default.

提交回复
热议问题