zed/crates/languages
Cathal 314e0902ca
bash: Hook up workspace configuration for bash-language-server (#57487)
Allows configuring the Bash LSP.

Tested with the following config:

```json
"bash-language-server": {
  "binary": {
    "path": "bash-language-server",
    "arguments": ["start"]
  },
  "settings": {
    "bashIde": {
      "shfmt": {
         "binaryNextLine": true,
         "caseIndent": true,
         "spaceRedirects": true,
         "simplifyCode": true
      }
    }
  }
}
```

Config options [defined
here](https://github.com/bash-lsp/bash-language-server/blob/main/server/src/config.ts),
all prefixed with `bashIde`.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Added support for configuring the Bash LSP adapter.

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
2026-08-19 17:27:34 +00:00
..
src bash: Hook up workspace configuration for bash-language-server (#57487) 2026-08-19 17:27:34 +00:00
Cargo.toml Thin out unnecessary dependencies from core crates (#60977) 2026-07-14 15:02:41 +00:00
LICENSE-GPL