From bc962d91b3c4d8eb05b2efdc3cf8cb38d87da918 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 3 Apr 2021 09:47:19 -0500 Subject: Add `fennel' and `lua' --- init.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index c461b7d..4580aed 100644 --- a/init.el +++ b/init.el @@ -846,6 +846,17 @@ if ripgrep is installed, otherwise `consult-grep'." (:hook-into emacs-lisp-mode)) ;;;;; Shell scripts +;;;;; Fennel +(when (executable-find "fennel") + (setup (:straight fennel-mode) + (autoload 'fennel-mode "fennel-mode" nil t) + (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode)) + (:bind "C-c C-c" ))) + + +;;;; Lua +(setup (:straight lua-mode) + (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) (setup sh-mode (:option sh-basic-offset tab-width sh-indent-after-case 0 -- cgit 1.4.1-21-gabe81