From e805b90506a8f1fdd4b13ec5d59e7f64b9065cc6 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:05:49 +0400 Subject: [PATCH] add lua to init.el --- config/emacs/init.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/emacs/init.el b/config/emacs/init.el index 79d415cf..f2dd79d2 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -398,6 +398,17 @@ :hook (go-mode . eglot-ensure) :mode ("\\.go\\'")) +;; lua +(use-package lua-mode + :ensure t + :hook (lua-mode . eglot-ensure) + :mode ("\\.lua\\'")) + +(use-package moonscript-mode + :ensure t + :hook (moonscript-mode . eglot-ensure) + :mode ("\\.moon\\'")) + ;; --- Org-Mode --- (use-package org :ensure t