summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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