- smartparens-terra doesn't exist - terra-indent-level has a sensible initial value, so it doesn't need to be reset
12 lines
374 B
EmacsLisp
12 lines
374 B
EmacsLisp
;;; lang/lua/config.el -*- lexical-binding: t; -*-
|
|
|
|
;;
|
|
;; Major modes
|
|
|
|
(def-package! terra-mode
|
|
:defer t
|
|
:config
|
|
(set-lookup-handlers! 'terra-mode :documentation 'terra-search-documentation)
|
|
(set-electric! 'terra-mode :words '("else" "end"))
|
|
(set-repl-handler! 'terra-mode #'+terra/open-repl)
|
|
(set-company-backend! 'terra-mode '(company-lua company-yasnippet)))
|