当我使用 emacs python-mode 时,如果一行的最后一个字符是一个左括号,它会缩进下一行,只是从上一行的缩进开始。
call_some_function(
some_very_long_argument_that_I_want_to_put_on_its_own_line)
我喜欢。现在在 ecmascript 模式(我用于 actionscript 3),它总是缩进到前一个括号的级别。
call_some_function(
this_is_not_really_saving_me_any_horizontal_space);
在这方面,我怎样才能使 ecmascript-mode 像 python-mode 一样缩进?