lang/lua: add flycheck-moonscript package
And only install moonscript package if +moonscript flag is provided.
This commit is contained in:
parent
3b7711420f
commit
e55ed59951
2 changed files with 9 additions and 2 deletions
|
@ -27,7 +27,9 @@
|
|||
moonscript-indent-offset tab-width)
|
||||
(add-hook! 'moonscript-mode-hook
|
||||
#'+lua|moonscript-fix-single-quotes
|
||||
#'+lua|moonscript-fontify-interpolation))
|
||||
#'+lua|moonscript-fontify-interpolation)
|
||||
(when (featurep! :tools flycheck)
|
||||
(require 'flycheck-moonscript nil t)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue