Wrap 'eglot-server-programs usage in after! eglot

This commit is contained in:
Gerry Agbobada 2020-05-28 11:49:53 +02:00
parent f35768af86
commit f9d30cbf90
No known key found for this signature in database
GPG key ID: 53F94866E84818F6

View file

@ -6,7 +6,7 @@
"Add SERVER-CALL list as a possible lsp server for given major MODE.
Example : (set-eglot-client! 'python-mode `(,(concat doom-etc-dir \"lsp/mspyls/Microsoft.Python.LanguageServer\")))"
(when (featurep! +eglot)
(after! eglot
(add-to-list 'eglot-server-programs `(,mode . ,server-call))))
;;;###autoload