Subject: bug#62407: 30.0.50; The command to run elixir-ls on Windows is `language_server.bat`

From: 牟 桐 <[email-masked]>
Date: Fri, 24 Mar 2023 07:18:24 +0000

> because some people use Bash on Windows as well

Sorry, I haven’t considered that.

> Btw, is language_server.bat part of that server's distribution, or did you write the batch file yourself?

The former, `language_server.bat` is shipped with the distribution.

> Can you see if the patch below solves your problem?

It will raise an error, so I changed it like this, now it solves my problem:

    ((elixir-mode elixir-ts-mode heex-ts-mode)
     . ,(if (and (fboundp 'w32-shell-dos-semantics)
                 (w32-shell-dos-semantics))        
            '("language_server.bat")        
          '("language_server.sh")))