当我使用Emacs Python模式时,如果一行的最后一个字符是开放括号,它会将下一行缩进到前一行的缩进只有一个步骤。
call_some_function(
some_very_long_argument_that_I_want_to_put_on_its_own_line)
我喜欢这个功能。现在在 ecmascript-mode 中(我正在用它来编写 ActionScript 3),它总是缩进到前一个括号的层级。
call_some_function(
this_is_not_really_saving_me_any_horizontal_space);
我该如何让 ecmascript-mode 在这一点上像 python-mode 一样缩进?