// 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)
{
  // general
  "agent": {
    "default_profile": "write",
    "default_model": {
      "provider": "zed.dev",
      "model": "claude-sonnet-4-5"
    }
  },
  "features": {
    "edit_prediction_provider": "zed"
  },
  "vim_mode": false,
  "confirm_quit": true,
  "auto_update": false,
  "telemetry": {
    "diagnostics": false,
    "metrics": false
  },

  "when_closing_with_no_tabs": "keep_window_open",

  // scrollbar
  "scrollbar": {
    "diagnostics": "none"
  },

  // editor
  "show_completions_on_input": false,
  "diagnostics_max_severity": "off",
  "use_autoclose": false,
  "use_auto_surround": false,
  "show_edit_predictions": false,
  "auto_indent_on_paste": true,
  "extend_comment_on_newline": false,

  // appearance
  "current_line_highlight": "none",
  "selection_highlight": true,

  "theme": {
    "mode": "dark",
    "light": "One Light",
    "dark": "One Dark"
  },

  "indent_guides": {
    "enabled": false
  },

  "cursor_shape": "bar",
  "buffer_font_family": "Menlo",
  "format_on_save": "off",
  "buffer_line_height": {
    "custom": 1.15
  },

  "buffer_font_features": {
    "calt": false
  },

  "ui_font_size": 14,
  "buffer_font_size": 14,

  "toolbar": {
    "quick_actions": false,
    "breadcrumbs": false
  },

  // turn off ui crap
  "project_panel": {
    "show_diagnostics": "off"
  },

  "diagnostics": {
    "include_warnings": false,
    "inline": {
        "enabled": false
    }
  },

  "tab_bar": {
    "show_nav_history_buttons": false
  },

  // git settings
  "git": {
    "git_gutter": "hide",
    "inline_blame": {
      "enabled": false
    }
  },

  "gutter": {
    "code_actions": false,
    "folds": false,
    "line_numbers": true,
    "runnables": false
  },

  "languages": {
    "Go": {
      "show_edit_predictions": false,
      "enable_language_server": true
    },
    "JavaScript": {
      "tab_size": 4,
      "hard_tabs": true
    }
  }
}
