1---
2title: Fish
3description: "Configure Fish language support in Zed, including language servers, formatting, and debugging."
4---
5
6# Fish
7
8Fish language support in Zed is provided by the community-maintained [Fish extension](https://github.com/hasit/zed-fish).
9Report issues to: [https://github.com/hasit/zed-fish/issues](https://github.com/hasit/zed-fish/issues)
10
11- Tree-sitter: [ram02z/tree-sitter-fish](https://github.com/ram02z/tree-sitter-fish)
12
13### Formatting
14
15Zed supports auto-formatting fish code using external tools like [`fish_indent`](https://fishshell.com/docs/current/cmds/fish_indent.html), which is included with fish.
16
171. Ensure `fish_indent` is available in your path and check the version:
18
19```sh
20which fish_indent
21fish_indent --version
22```
23
242. Configure Zed to automatically format fish code with `fish_indent`:
25
26```json [settings]
27 "languages": {
28 "Fish": {
29 "formatter": {
30 "external": {
31 "command": "fish_indent"
32 }
33 }
34 }
35 },
36```