General refactor & cleanup, across the board

This commit is contained in:
Henrik Lissner 2019-09-13 21:59:03 -04:00
parent 4ddc5c194b
commit 2d365619cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
35 changed files with 141 additions and 155 deletions

View file

@ -1,12 +1,11 @@
;;; lang/lua/config.el -*- lexical-binding: t; -*-
;;
;; Major modes
;;; Major modes
(use-package! terra-mode
:defer t
:config
(set-lookup-handlers! 'terra-mode :documentation 'terra-search-documentation)
(after! terra-mode
(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)))