Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Fish

Fish language support in Gram is provided by the community-maintained Fish extension. Report issues to: https://github.com/hasit/zed-fish/issues

Formatting

Gram supports auto-formatting fish code using external tools like fish_indent, which is included with fish.

  1. Ensure fish_indent is available in your path and check the version:
which fish_indent
fish_indent --version
  1. Configure Gram to automatically format fish code with fish_indent:
  "languages": {
    "Fish": {
      "formatter": {
        "external": {
          "command": "fish_indent"
        }
      }
    }
  },