* eglot.el (eglot--format-markup): Set
markdown-fontify-code-blocks-natively to t locally.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/408
(require 'filenotify)
(require 'ert)
(require 'array)
-(defvar company-backends) ; forward-declare, but don't require company
+;; forward-declare, but don't require (Emacs 28 doesn't seem to care)
+(defvar markdown-fontify-code-blocks-natively)
+(defvar company-backends)
(defvar company-tooltip-align-annotations)
("plaintext" 'text-mode)
(_ major-mode))))))
(with-temp-buffer
+ (setq-local markdown-fontify-code-blocks-natively t)
(insert (string-trim string))
(ignore-errors (delay-mode-hooks (funcall mode)))
(font-lock-ensure)