; Add 'eglot-ensure' option to 'lua-ts-mode-hook'
authorjohn muhl <jm@pub.pink>
Wed, 15 Nov 2023 18:45:18 +0000 (12:45 -0600)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 27 Jun 2024 22:59:36 +0000 (00:59 +0200)
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode-hook): Add an option to
enable Eglot from the lua-ts-mode-hook.  (Bug#71736)

lisp/progmodes/lua-ts-mode.el

index 0568e0d273c5f999728f038736007493d8d1377a..fdc3f7a6d147eb98d678e91e1d0f09d6ba764608 100644 (file)
@@ -58,7 +58,8 @@
 (defcustom lua-ts-mode-hook nil
   "Hook run after entering `lua-ts-mode'."
   :type 'hook
-  :options '(flymake-mode
+  :options '(eglot-ensure
+             flymake-mode
              hs-minor-mode
              outline-minor-mode)
   :version "30.1")