emacs - Lua indentation using 2 spaces
This commit is contained in:
parent
8f4fae83b7
commit
aa1454c390
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@
|
||||||
(tool-bar-mode -1))
|
(tool-bar-mode -1))
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
|
|
||||||
|
;; Lua options
|
||||||
|
(setq-default lua-indent-level 2)
|
||||||
|
|
||||||
;; Buffer cleanup
|
;; Buffer cleanup
|
||||||
(defun buffer-cleanup-whitespace ()
|
(defun buffer-cleanup-whitespace ()
|
||||||
"Remove trailing whitespaces upon save"
|
"Remove trailing whitespaces upon save"
|
||||||
|
|
Loading…
Reference in a new issue