lang/lua: add +fennel
This commit is contained in:
parent
5ccbc468ad
commit
7d3a41567d
3 changed files with 13 additions and 2 deletions
|
@ -11,7 +11,7 @@ lua-language-server.")
|
|||
|
||||
|
||||
;;
|
||||
;; Major modes
|
||||
;;; Major modes
|
||||
|
||||
(use-package! lua-mode
|
||||
:defer t
|
||||
|
@ -61,6 +61,14 @@ lua-language-server.")
|
|||
(require 'flycheck-moonscript nil t)))
|
||||
|
||||
|
||||
(use-package! fennel-mode
|
||||
:when (featurep! +fennel)
|
||||
:defer t
|
||||
:config
|
||||
(set-lookup-handlers! 'fennel-mode :definition #'fennel-find-definition)
|
||||
(set-repl-handler! 'fennel-mode #'fennel-repl))
|
||||
|
||||
|
||||
;;
|
||||
;;; Frameworks
|
||||
|
||||
|
|
|
@ -10,5 +10,8 @@
|
|||
:recipe (:host github :repo "hlissner/emacs-flycheck-moonscript")
|
||||
:pin "fcb99e5efcf31db05f236f02eaa575986a57172d")))
|
||||
|
||||
(when (featurep! +fennel)
|
||||
(package! fennel-mode :pin "a39543750ba337b9327108ba17ffb0cdb18c7f9b"))
|
||||
|
||||
(when (featurep! :completion company)
|
||||
(package! company-lua :pin "29f6819de4d691e5fd0b62893a9f4fbc1c6fcb52"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue