Electric-indent on words
This commit is contained in:
parent
3c72351220
commit
28a720e626
4 changed files with 22 additions and 2 deletions
|
@ -9,6 +9,10 @@
|
|||
(after! company-dict
|
||||
(add-to-list 'company-dict-minor-mode-list 'love-mode))
|
||||
|
||||
(add-hook! lua-mode
|
||||
(electric-indent-local-mode +1)
|
||||
(setq narf-electric-indent-words '("else" "end")))
|
||||
|
||||
(defun narf-inf-lua ()
|
||||
(lua-start-process "lua" "lua")
|
||||
(pop-to-buffer lua-process-buffer)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue