summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-03 09:47:19 -0500
committerCase Duckworth2021-04-03 09:47:19 -0500
commitbc962d91b3c4d8eb05b2efdc3cf8cb38d87da918 (patch)
treed888bf976eea6e5d07fad7b6f08ec2903622f260
parentAdd `form-feed' (diff)
downloademacs-bc962d91b3c4d8eb05b2efdc3cf8cb38d87da918.tar.gz
emacs-bc962d91b3c4d8eb05b2efdc3cf8cb38d87da918.zip
Add `fennel' and `lua'
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
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'."
846 (:hook-into emacs-lisp-mode)) 846 (:hook-into emacs-lisp-mode))
847 847
848;;;;; Shell scripts 848;;;;; Shell scripts
849;;;;; Fennel
850(when (executable-find "fennel")
851 (setup (:straight fennel-mode)
852 (autoload 'fennel-mode "fennel-mode" nil t)
853 (:option (append auto-mode-alist) '("\\.fnl\\'" . fennel-mode))
854 (:bind "C-c C-c" )))
855
856
857;;;; Lua
858(setup (:straight lua-mode)
859 (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
849(setup sh-mode 860(setup sh-mode
850 (:option sh-basic-offset tab-width 861 (:option sh-basic-offset tab-width
851 sh-indent-after-case 0 862 sh-indent-after-case 0