Skip to content

Instantly share code, notes, and snippets.

@Rexagon
Created February 12, 2026 21:57
Show Gist options
  • Select an option

  • Save Rexagon/cbe8701ed621e7dac277b4ec7c2e14e4 to your computer and use it in GitHub Desktop.

Select an option

Save Rexagon/cbe8701ed621e7dac277b4ec7c2e14e4 to your computer and use it in GitHub Desktop.
Zed settings
// 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 the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"git_panel": {
"tree_view": true,
},
"disable_ai": true,
"semantic_tokens": "combined",
"outline_panel": {
"dock": "right",
},
"base_keymap": "JetBrains",
"theme": "Gruvbox Dark Hard NG",
"icon_theme": {
"mode": "system",
"dark": "VSCode Icons for Zed (Dark)",
"light": "VSCode Icons for Zed (Light)",
},
"telemetry": {
"diagnostics": false,
"metrics": false,
},
"vim_mode": false,
"minimap": {
"show": "always",
},
"ui_font_size": 14,
"buffer_font_size": 14,
"buffer_line_height": {
"custom": 1.4,
},
"inlay_hints": {
"enabled": true,
"show_type_hints": true,
},
"ui_font_family": "Cascadia Code",
"buffer_font_family": "Cascadia Code",
"autosave": {
"after_delay": {
"milliseconds": 1000,
},
},
"current_line_highlight": "line",
"ensure_final_newline_on_save": true,
"remove_trailing_whitespace_on_save": true,
"text_rendering_mode": "subpixel",
"show_whitespaces": "all",
"global_lsp_settings": {
"semantic_token_rules": [
{
"token_modifiers": ["deprecated"],
"strikethrough": true,
},
{
"token_modifiers": ["constant"],
"font_weight": "bold",
},
{
"token_type": "variable",
"token_modifiers": ["mutable"],
"underline": true,
},
{
"token_type": "parameter",
"token_modifiers": ["mutable"],
"underline": true,
},
{
"token_type": "parameter",
"foreground_color": "#d3869bff",
},
{
"token_type": "interface",
"underline": true,
},
{
"token_type": "method",
"foreground_color": "#ffc66dff",
},
{
"token_type": "builtinType",
"foreground_color": "#fb4934ff",
},
{
"token_type": "typeParameter",
"foreground_color": "#20999dff",
},
{
"token_type": "macro",
"foreground_color": "#4eade5ff",
},
],
},
"lsp": {
"rust-analyzer": {
"initialization_options": {
"cargo": {
"buildScripts": {
"enable": true,
},
},
"procMacro": {
"enable": true,
},
"inlayHints": {
"discriminantHints": {
"enable": "fieldless",
},
},
"imports": {
"granularity": {
"enforce": true,
"group": "module",
},
"prefix": "self",
},
"rustfmt": {
"extraArgs": ["+nightly"],
},
"semanticHighlighting": {
"strings": {
"enable": true,
},
},
"hover": {
"actions": {
"references": {
"enable": true,
},
},
},
"workspace": {
"symbol": {
"search": {
"kind": "all_symbols",
"scope": "workspace_and_dependencies",
},
},
},
},
},
},
// "theme_overrides": {
// "Gruvbox Dark Hard": {
// "border": "#403E3EFF",
// "elevated_surface.background": "#1C1C1CFF",
// "surface.background": "#1C1C1CFF",
// "background": "#252525FF",
// "element.background": "#393634FF",
// "element.hover": "#494340FF",
// "element.active": "#5B524CFF",
// "ghost_element.hover": "#1F1F1FFF",
// "ghost_element.active": "#212121FF",
// "text": "#D4BE98FF",
// "text.muted": "#A89984FF",
// "icon": "#D4BE98FF",
// "icon.muted": "#A89984FF",
// "status_bar.background": "#252525FF",
// "title_bar.background": "#252525FF",
// "toolbar.background": "#252525FF",
// "tab_bar.background": "#1C1C1CFF",
// "tab.inactive_background": "#1C1C1CFF",
// "tab.active_background": "#252525FF",
// "search.match_background": "#BD6F3E40",
// "panel.background": "#1C1C1CFF",
// "panel.focused_border": "#83A598FF",
// "scrollbar.thumb.active_background": "#A89984FF",
// "scrollbar.thumb.hover_background": "#7C6F64FF",
// "scrollbar.thumb.background": "#7C6F6480",
// "editor.foreground": "#A89984FF",
// "editor.background": "#252525FF",
// "editor.gutter.background": "#252525FF",
// "editor.subheader.background": "#1C1C1CFF",
// "editor.active_line.background": "#38343290",
// "editor.highlighted_line.background": "#38343290",
// "editor.line_number": "#7C6F64FF",
// "editor.active_line_number": "#928374FF",
// "editor.invisible": "#45403DFF",
// "editor.document_highlight.read_background": "#83A5981A",
// "terminal.background": "#252525FF",
// "terminal.foreground": "#A89984FF",
// "version_control.added": "#A9B665FF",
// "version_control.modified": "#7DAEA3FF",
// "version_control.deleted": "#EA6962FF",
// "conflict": "#D3869BA0",
// "created": "#A9B665FF",
// "created.background": "#322B11FF",
// "deleted": "#EA6962FF",
// "error": "#B85651FF",
// "error.background": "#B8565100",
// "hidden": "#D8A657FF",
// "hint": "#AB6C7DFF",
// "hint.background": "#AB6C7D00",
// "ignored": "#A89984FF",
// "info": "#68948AFF",
// "info.background": "#68948A00",
// "modified": "#7DAEA3FF",
// "modified.background": "#405953FF",
// "modified.border": "#4D6E61FF",
// "renamed": "#D3869BFF",
// "warning": "#C18F41FF",
// "warning.background": "#C18F4100",
// "players": [
// {
// "cursor": "#83a598ff",
// "background": "#83a598ff",
// "selection": "#504945B0",
// },
// {
// "cursor": "#a89984ff",
// "background": "#a89984ff",
// "selection": "#a899843d",
// },
// {
// "cursor": "#fd801bff",
// "background": "#fd801bff",
// "selection": "#fd801b3d",
// },
// {
// "cursor": "#d3869bff",
// "background": "#d3869bff",
// "selection": "#d3869b3d",
// },
// {
// "cursor": "#8ec07cff",
// "background": "#8ec07cff",
// "selection": "#8ec07c3d",
// },
// {
// "cursor": "#fb4a35ff",
// "background": "#fb4a35ff",
// "selection": "#fb4a353d",
// },
// {
// "cursor": "#f9bd2fff",
// "background": "#f9bd2fff",
// "selection": "#f9bd2f3d",
// },
// {
// "cursor": "#b7bb26ff",
// "background": "#b7bb26ff",
// "selection": "#b7bb263d",
// },
// ],
// "panel.overlay_background": "#1C1C1CFF",
// "panel.overlay_hover": "#252525FF",
// "minimap.thumb.background": "#7C6F6480",
// "minimap.thumb.hover_background": "#7C6F64FF",
// "minimap.thumb.active_background": "#A89984FF",
// "version_control.renamed": "#D3869BFF",
// "version_control.conflict": "#D3869BA0",
// "version_control.ignored": "#D8A657FF",
// "syntax": {
// "attribute": {
// "color": "#D3869BFF",
// },
// "boolean": {
// "color": "#D3869BFF",
// },
// "comment": {
// "color": "#928374FF",
// "font_style": "italic",
// },
// "comment.doc": {
// "color": "#928374FF",
// "font_style": "italic",
// },
// "constant": {
// "color": "#D3869BFF",
// },
// "constructor": {
// "color": "#8EC07CFF",
// },
// "enum": {
// "color": "#FABD2FFF",
// },
// "function": {
// "color": "#B8BB25FF",
// },
// "function.builtin": {
// "color": "#B8BB25FF",
// },
// "hint": {
// "color": "#474240FF",
// },
// "keyword": {
// "color": "#FB4934FF",
// },
// "label": {
// "color": "#fabd2f",
// },
// "namespace": {
// "color": "#EBDBB2FF",
// },
// "number": {
// "color": "#D3869BFF",
// },
// "operator": {
// "color": "#FE8019FF",
// },
// "preproc": {
// "color": "#D3869BFF",
// },
// "property": {
// "color": "#8EC07CFF",
// },
// "punctuation": {
// "color": "#EBDBB2FF",
// },
// "punctuation.bracket": {
// "color": "#C9B99AFF",
// },
// "selector": {
// "color": "#FB4934FF",
// },
// "selector.pseudo": {
// "color": "#83A598FF",
// },
// "string": {
// "color": "#B8BB26FF",
// },
// "string.escape": {
// "color": "#FABD2FFF",
// },
// "tag": {
// "color": "#FE8019FF",
// },
// "title": {
// "color": "#D3869BFF",
// },
// "type": {
// "color": "#FABD2FFF",
// },
// "variable": {
// "color": "#83A598FF",
// },
// "variable.special": {
// "color": "#FB4934FF",
// },
// "variant": {
// "color": "#8EC07CFF",
// },
// "lifetime": {
// "color": "#20999dff",
// },
// },
// },
// },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment