[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lua-mode: indentation of multi-line conditionals
From: |
Eli Zaretskii |
Subject: |
Re: lua-mode: indentation of multi-line conditionals |
Date: |
Tue, 25 Jul 2023 15:02:56 +0300 |
> Date: Tue, 25 Jul 2023 04:50:21 +0000 (UTC)
> From: Werner LEMBERG <wl@gnu.org>
>
>
> Looking at
>
> https://dev.minetest.net/Lua_code_style_guidelines
>
> I read the following about Lua source code:
>
> > Conditional expressions have continuation lines indented by two
> > tabs.[*]
>
> For Emacs, replacing 'tabs' with 'indentation level', this would be
>
> ```
> if long_function_call(with, many, arguments) and
> another_function_call() then
> do_something()
> end
> ```
>
> However, this is not what Emacs does by default in Lua mode; you
> rather get
Is this about lua-mode from Non-GNU ELPA? Or about some other
package? Because Emacs doesn't include such a mode, AFAICT.