lang/lua: set default indent = tab-width
Because it's original default was 3. Madness.
This commit is contained in:
parent
168236e9c0
commit
7ca2b42d2b
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,14 @@
|
|||
(provide 'smartparens-lua)
|
||||
|
||||
|
||||
(after! lua-mode
|
||||
;;
|
||||
;; Major modes
|
||||
|
||||
(def-package! lua-mode
|
||||
:init
|
||||
;; lua-indent-level defaults to 3 otherwise. Madness.
|
||||
(setq lua-indent-level tab-width)
|
||||
:config
|
||||
(set-lookup-handlers! 'lua-mode :documentation 'lua-search-documentation)
|
||||
(set-electric! 'lua-mode :words '("else" "end"))
|
||||
(set-repl-handler! 'lua-mode #'+lua/repl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue