Replace :electric with set-electric-rules!
And general refactor of the emacs/electric-indent module. Also updates (set! :electric ...) references in various :lang modules
This commit is contained in:
parent
f801939ce7
commit
9f0ebe42e8
9 changed files with 39 additions and 33 deletions
|
@ -4,7 +4,7 @@
|
|||
(add-hook 'lua-mode-hook #'flycheck-mode)
|
||||
|
||||
(set! :lookup 'lua-mode :documentation 'lua-search-documentation)
|
||||
(set! :electric 'lua-mode :words '("else" "end"))
|
||||
(set-electric! 'lua-mode :words '("else" "end"))
|
||||
(set! :repl 'lua-mode #'+lua/repl)
|
||||
(set-company-backend! 'lua-mode '(company-lua company-yasnippet))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue