From a35f6a7f9abe2e67ec76e932bdb9f4424cd12fc2 Mon Sep 17 00:00:00 2001 From: NA Date: Fri, 11 Jan 2019 05:58:04 +0200 Subject: [PATCH] Support language server for html, css, json and docker * eglot.el (eglot-server-programs): Support html-languageserver, css-languageserver, json-languageserver, and docker-langserver. * README.md: Update documentation for above changes. Copyright-paperwork-exempt: Yes GitHub-reference: fix https://github.com/joaotavora/eglot/issues/204 --- lisp/progmodes/eglot.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 234e4f14e77..e1eb9ed4ced 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -177,7 +177,11 @@ language-server/bin/php-language-server.php")) (gdscript-mode . ("localhost" 6008)) ((fortran-mode f90-mode) . ("fortls")) (lua-mode . ("lua-lsp")) - (zig-mode . ("zls"))) + (zig-mode . ("zls")) + (css-mode "css-languageserver" "--stdio") + (html-mode "html-languageserver" "--stdio") + (json-mode "json-languageserver" "--stdio") + (dockerfile-mode . ("docker-langserver" "--stdio"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE identifies the buffers that are to be managed by a specific -- 2.39.2