Variable: eglot-tempel-mode
eglot-tempel-mode is a customizable variable defined in
eglot-tempel.el.
Value
nil
Documentation
Non-nil if Eglot-Tempel mode is enabled.
See the eglot-tempel-mode(var)/eglot-tempel-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function eglot-tempel-mode(var)/eglot-tempel-mode(fun).
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/lqz3cn8ff5miaxachlhqgwligclg6la5-emacs-packages-deps/share/emacs/site-lisp/elpa/eglot-tempel-20241115.1110/eglot-tempel.el
;;;###autoload
(define-minor-mode eglot-tempel-mode
"Toggle eglot template support by tempel."
:init-value nil
:global t
:lighter nil
(progn
(if eglot-tempel-mode
(unless (advice-member-p 'eglot--snippet-expansion-fn
#'eglot-tempel--snippet-expansion-fn)
(advice-add 'eglot--snippet-expansion-fn
:override #'eglot-tempel--snippet-expansion-fn))
(advice-remove 'eglot--snippet-expansion-fn
#'eglot-tempel--snippet-expansion-fn))
(when (eglot-current-server)
(eglot-reconnect (eglot-current-server)))))