mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-06-12 01:14:24 +02:00
chore(zed): sync editor settings
This commit is contained in:
@@ -8,10 +8,45 @@
|
|||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
# Editor behavior
|
# Editor behavior
|
||||||
|
auto_signature_help = true;
|
||||||
autosave = "on_focus_change";
|
autosave = "on_focus_change";
|
||||||
|
code_lens = "on";
|
||||||
|
completion_menu_item_kind = "symbol";
|
||||||
|
completions.lsp_fetch_timeout_ms = 2000;
|
||||||
|
diagnostics.inline.enabled = true;
|
||||||
|
document_folding_ranges = "off";
|
||||||
inlay_hints.enabled = true;
|
inlay_hints.enabled = true;
|
||||||
|
minimap.show = "auto";
|
||||||
|
relative_line_numbers = "enabled";
|
||||||
|
semantic_tokens = "combined";
|
||||||
soft_wrap = "editor_width";
|
soft_wrap = "editor_width";
|
||||||
|
vertical_scroll_margin = 5.0;
|
||||||
which_key.enabled = true;
|
which_key.enabled = true;
|
||||||
|
indent_guides = {
|
||||||
|
background_coloring = "indent_aware";
|
||||||
|
coloring = "indent_aware";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Search
|
||||||
|
search.regex = true;
|
||||||
|
use_smartcase_search = true;
|
||||||
|
|
||||||
|
# Formatting
|
||||||
|
prettier.allowed = true;
|
||||||
|
|
||||||
|
# UI chrome
|
||||||
|
tabs = {
|
||||||
|
file_icons = true;
|
||||||
|
git_status = true;
|
||||||
|
};
|
||||||
|
title_bar = {
|
||||||
|
show_branch_status_icon = true;
|
||||||
|
show_menus = false;
|
||||||
|
show_user_menu = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Git
|
||||||
|
git.inline_blame.show_commit_summary = true;
|
||||||
|
|
||||||
# Modal editing
|
# Modal editing
|
||||||
helix_mode = true;
|
helix_mode = true;
|
||||||
@@ -28,6 +63,7 @@
|
|||||||
|
|
||||||
# App behavior
|
# App behavior
|
||||||
auto_update = false;
|
auto_update = false;
|
||||||
|
cli_default_open_behavior = "existing_window";
|
||||||
|
|
||||||
# AI/editor integrations
|
# AI/editor integrations
|
||||||
agent.play_sound_when_agent_done = "when_hidden";
|
agent.play_sound_when_agent_done = "when_hidden";
|
||||||
|
|||||||
Reference in New Issue
Block a user