// $DOTFILES/tools/zed/settings.json
// Date: 2025-01-25
// Author: js0ny
// Description: Zed settings (jsonc)

// Location:
// GNU/Linux: ~/.config/zed/settings.json
// Windows: %APPDATA%\Zed\settings.json
// Linking: (link the whole directory)
// ln -sf $DOTFILES/tools/zed ~/.config/zed
//
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
  "features": {
    "edit_prediction_provider": "zed"
  },
  "outline_panel": {
    "dock": "right"
  },
  "edit_predictions": {
    "disabled_globs": ["*.bean", "*.env"],
    // "mode": "eager_preview",
    "copilot": {
      "proxy": null,
      "proxy_no_verify": null
    }
  },
  "base_keymap": "VSCode",
  "vim_mode": true,
  "ui_font_size": 16,
  "buffer_font_size": null,
  "theme": {
    "mode": "system",
    "light": "Rosé Pine Dawn",
    "dark": "Kanagawa Dragon"
  },
  "relative_line_numbers": true,
  "buffer_font_family": "Maple Mono NF CN",
  "remove_trailing_whitespace_on_save": true,
  "assistant": {
    "default_model": {
      "provider": "copilot_chat",
      "model": "claude-3-7-sonnet"
    },
    "version": "2"
  },
  "inlay_hints": {
    "enabled": true,
    "show_type_hints": true
  },
  "terminal": {
    "env": {
      "EDITOR": "zed --wait"
    }
  }
}
