lang/lua: set default indent width to 2
As per the official lua style guide: http://lua-users.org/wiki/LuaStyleGuide
This commit is contained in:
parent
8f01abebfc
commit
ee81d0533a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
:defer t
|
||||
:init
|
||||
;; lua-indent-level defaults to 3 otherwise. Madness.
|
||||
(setq lua-indent-level tab-width)
|
||||
(setq lua-indent-level 2)
|
||||
:config
|
||||
(set-lookup-handlers! 'lua-mode :documentation 'lua-search-documentation)
|
||||
(set-electric! 'lua-mode :words '("else" "end"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue