* eglot.el (eglot-client-capabilities): Support markdown only when
gfm-view-mode is installed.
GitHub-reference: close https://github.com/joaotavora/eglot/issues/408
:json-false))
:contextSupport t)
:hover (list :dynamicRegistration :json-false
- :contentFormat ["markdown" "plaintext"])
+ :contentFormat
+ (if (fboundp 'gfm-view-mode)
+ ["markdown" "plaintext"]
+ ["plaintext"]))
:signatureHelp (list :dynamicRegistration :json-false
:signatureInformation
`(:parameterInformation