Files
zed/docs/src/languages/diff.md
Marshall Bowers 3b3c379852 docs: Fix casing of "Tree-sitter" (#25427)
This PR fixes the casing of "Tree-sitter" in the docs.

It is "Tree-sitter", not "Tree Sitter" or "Tree-Sitter".

Release Notes:

- N/A
2025-02-23 15:30:10 +00:00

694 B

Diff

Diff support is available natively in Zed.

Configuration

Zed will not attempt to format diff files and has remove_trailing_whitespace_on_save and ensure-final-newline-on-save set to false.

Zed will automatically recognize files with patch and diff extensions as Diff files. To recognize other extensions, add them to file_types in your Zed settings.json:

  "file_types": {
    "Diff": ["dif"]
  },