josa42 / coc-sh

SH language server extension using bash-language-server for coc.nvim.
MIT License
205 stars 4 forks source link

[coc.nvim] Server sh failed to start: Error: spawn UNKNOWN #57

Closed homie-desktop closed 2 years ago

homie-desktop commented 2 years ago

tried installing coc-sh and added the following to my coc-settings.json

  "languageserver": {
    "bash": {
      "command": "bash-language-server",
      "args": ["start"],
      "filetypes": ["sh"],
      "ignoredRootPaths": ["~"]
    }
  },

but when opening .sh files, it outputs the following errors:

[coc.nvim] Server sh failed to start: Error: spawn UNKNOWN
josa42 commented 2 years ago

If you are configuring the language server like that, you are not using this package.

erfan4323 commented 1 year ago

I have the same issue with cpp clangd files but there is nothing to solve it