mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
eglot: Allow omnisharp binary to be capitalized "OmniSharp"
Some distributors (e.g. nixpkgs) provide a binary "OmniSharp" instead of "omnisharp", which breaks on case-sensitive file-systems. * lisp/progmodes/eglot.el (eglot-server-programs): Add "OmniSharp" as a valid binary name to search for. (Bug#75954)
This commit is contained in:
parent
5485ea6aef
commit
87be3aa149
1 changed files with 1 additions and 0 deletions
|
@ -327,6 +327,7 @@ automatically)."
|
||||||
((csharp-mode csharp-ts-mode)
|
((csharp-mode csharp-ts-mode)
|
||||||
. ,(eglot-alternatives
|
. ,(eglot-alternatives
|
||||||
'(("omnisharp" "-lsp")
|
'(("omnisharp" "-lsp")
|
||||||
|
("OmniSharp" "-lsp")
|
||||||
("csharp-ls"))))
|
("csharp-ls"))))
|
||||||
(purescript-mode . ("purescript-language-server" "--stdio"))
|
(purescript-mode . ("purescript-language-server" "--stdio"))
|
||||||
((perl-mode cperl-mode)
|
((perl-mode cperl-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue