# bash: Hook up workspace configuration for \`bash-language-server\` \(\#57487\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/314e0902ca079a01659b63a25785131774d66633)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 314e0902ca079a01659b63a25785131774d66633

Requested commit: 314e0902ca079a01659b63a25785131774d66633

Commit: 314e0902ca079a01659b63a25785131774d66633

Tree: b438ef0938820b9e95a3f4f0a6cb8c4ebdfa5dea

Author: Cathal

Committer: GitHub

## Message

````
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>
````

## Parents

- [d5dc01f2b54e0ae11215e76a0811743b3fc86e2f](https://git.cafe/gitcafe/zed/commit/d5dc01f2b54e0ae11215e76a0811743b3fc86e2f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/314e0902ca079a01659b63a25785131774d66633?format=markdown)
