mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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"))
|
||||
|
Reference in New Issue
Block a user