Skip to content

Anomalous Git Gutter Width #62645

Description

@alexmaltsevgit

Reproduction steps

  1. Start Zed
  2. Open Settings -> Editor -> Gutter -> Git Gutter Width
  3. Look at the value

Current vs. Expected behavior

Git Gutter Width field shows strange number

Image

Zed version and system specs

Zed 1.15.0
OS: Windows 10
Commit: e17dc4f
Version: 1.15.0+stable.339.e17dc4f9d50db73a458b64dcce50ecd4878b98a3

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json
// 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)
{
  "gutter": {
    
  },
  "format_on_save": "on",
  "autosave": "on_focus_change",
  "extend_comment_on_newline": false,
  "diff_view_style": "split",
  "cli_default_open_behavior": "existing_window",
  "git_panel": {
    "tree_view": true,
    "dock": "left",
  },
  "languages": {
    "TSX": {
      "show_edit_predictions": true,
    },
    "Zig": {
      "code_actions_on_format": {
        // Run code actions that currently supports adding and removing discards.
        "source.fixAll": true,
        // Run code actions that sorts @import declarations.
        "source.organizeImports": true,
      },
    },
  },
  "lsp": {
    "zls": {
      "settings": {
        "zls": {
          "enable_build_on_save": true,
        },
      },
    },
  },
  "show_edit_predictions": true,
  "tab_size": 2,
  "edit_predictions": {
    "mode": "subtle",
    "open_ai_compatible_api": {
      "prompt_format": "qwen",
      "model": "qwen/qwen3.5-9b",
      "api_url": "http://localhost:1234/v1/completions",
    },
    "provider": "open_ai_compatible_api",
  },
  "agent": {
    "default_profile": "minimal",
    "default_model": {
      "provider": "lmstudio",
      "model": "google/gemma-4-e4b",
      "enable_thinking": false,
    },
    "max_context_tokens": 131072,
    "sidebar_side": "right",
    "dock": "right",
    "favorite_models": [],
    "model_parameters": [],
  },
  "project_panel": {
    "file_icons": true,
    "folder_icons": false,
    "entry_spacing": "comfortable",
    "dock": "left",
  },
  "wsl_connections": [
    {
      "distro_name": "Ubuntu",
      "user": null,
      "projects": "REDACTED"
    },
  ],
  "icon_theme": {
    "mode": "dark",
    "light": "Zed (Default)",
    "dark": "Zed (Default)",
  },
  "agent_servers": {
    "claude-acp": {
      "default_config_options": {
        "model": "haiku",
        "mode": "bypassPermissions",
      },
      "type": "registry",
    },
    "codex-acp": {
      "default_config_options": {
        "model": "gpt-5.6-sol",
        "reasoning_effort": "xhigh",
        "mode": "agent-full-access",
      },
      "type": "registry",
    },
  },
  "base_keymap": "JetBrains",
  "ui_font_size": 16,
  "buffer_font_size": 15,
  "theme": {
    "mode": "dark",
    "light": "One Light",
    "dark": "One Dark",
  },
}

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `severity:*`/`reach:*` for Bugs/Crashes

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions