12 lines
370 B
EmacsLisp
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))
|