From 05418a1d836cc76d3e4c8bf5287b8351da523096 Mon Sep 17 00:00:00 2001 From: Marcus Swanson Date: Sat, 26 Mar 2022 22:43:31 +0100 Subject: [PATCH] Add omnisharp support for c# * eglot.el (eglot-server-programs): Add omnisharp for C#. * README.md: Document the above change. Copyright-paperwork-exempt: Yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/897 --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 83a29455147..1c162408905 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -192,7 +192,8 @@ language-server/bin/php-language-server.php")) (html-mode . ,(eglot-alternatives '(("vscode-html-language-server" "--stdio") ("html-languageserver" "--stdio")))) (json-mode . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio")))) (dockerfile-mode . ("docker-langserver" "--stdio")) - (clojure-mode . ("clojure-lsp"))) + (clojure-mode . ("clojure-lsp")) + (csharp-mode . ("omnisharp" "-lsp"))) "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