From 8d688d1107c46b6dfdcaf02fa5c9c4c8a4640e65 Mon Sep 17 00:00:00 2001 From: venomade Date: Sun, 18 Jan 2026 16:07:54 +0000 Subject: KDE & Emacs --- .emacs.d/lang/lua.el | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .emacs.d/lang/lua.el (limited to '.emacs.d/lang/lua.el') diff --git a/.emacs.d/lang/lua.el b/.emacs.d/lang/lua.el new file mode 100644 index 0000000..dfc1b19 --- /dev/null +++ b/.emacs.d/lang/lua.el @@ -0,0 +1,11 @@ +;; Emacs Configuration for Lua + +(use-package lua-mode + :ensure t + :config + (add-hook 'lua-mode-hook #'eglot-ensure t) + (setq lua-indent-level 2 + lua-documentation-url "https://www.lua.org/manual/5.4/manual.html")) + +; TODO Try fix this only for lua-mode as that is where the bug is +(setq eglot-ignored-server-capabilities '(:documentOnTypeFormattingProvider)) -- cgit 1.4.1-2-gfad0