Files
dotfiles/.emacs.d/lang/lua.el
T
2026-01-18 16:07:54 +00:00

12 lines
370 B
EmacsLisp

;; 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))