New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indentation. #56
Comments
|
+1 |
|
I agree that it would've been a better default value for lua-mode rewrite. But I'm reluctant to change it right now, because it has been like that for ages and I expect the following to happen after the change:
So, atm, it seems somewhat pointless, or do I miss something? |
|
Sorry for a lazy question, but: is lua-indent-level documented and visible |
|
If you mean "it's mentioned in lua-mode doc", then no, since there's no such doc :) But you sure can access it & read its docstring via |
|
Ohh, well, I'll assume that finding that info is a common Emacs |
|
I've just checked: it does require a bit of intuition or a knowledge how to use search box in "M-x customize" to find it. It is worth an extra mention in the readme (or commentary). |
|
I think this could be closed, if one adds to the README: |
|
I've added a quick summary of most useful customization variables (including |
lua-mode seems to default to indent 3 spaces.
Reading http://lua-users.org/wiki/LuaStyleGuide , it seems 2 is the most common number to indent, and that would therefore be a better default.
The text was updated successfully, but these errors were encountered: