Add `fennel' and `lua'
This commit is contained in:
parent
52bac1f364
commit
bc962d91b3
11
init.el
11
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
|
||||
|
|
Loading…
Reference in New Issue