2024-08-08 12:42:31 +02:00
|
|
|
// 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.
|
|
|
|
{
|
2024-12-21 11:56:42 +01:00
|
|
|
"theme": "Catppuccin Espresso (Blur)",
|
2024-08-08 12:42:31 +02:00
|
|
|
"ui_font_size": 15,
|
|
|
|
"buffer_font_size": 14,
|
2024-12-23 11:34:51 +01:00
|
|
|
"buffer_font_family": "Maple Mono",
|
2024-08-08 12:42:31 +02:00
|
|
|
// Mine
|
|
|
|
"format_on_save": "on",
|
|
|
|
"terminal": {
|
|
|
|
"font_family": "DejaVuSansM Nerd Font",
|
|
|
|
"line_height": "standard",
|
|
|
|
"font_size": 15
|
|
|
|
},
|
|
|
|
"project_panel": {
|
2024-12-21 11:56:42 +01:00
|
|
|
"default_width": 320,
|
|
|
|
"dock": "right"
|
2024-08-08 12:42:31 +02:00
|
|
|
},
|
2024-12-21 11:56:42 +01:00
|
|
|
"scrollbar": {
|
|
|
|
"show": "never"
|
|
|
|
},
|
|
|
|
"auto_update": false,
|
|
|
|
// LSP
|
2024-08-08 12:42:31 +02:00
|
|
|
"lsp": {
|
|
|
|
"solargraph": {
|
|
|
|
"initialization_options": {
|
|
|
|
"diagnostics": true,
|
|
|
|
"formatting": false
|
|
|
|
}
|
2024-09-03 18:59:19 +02:00
|
|
|
},
|
|
|
|
"ruff": {
|
|
|
|
"initialization_options": {
|
|
|
|
"settings": {
|
|
|
|
// Ruff server settings goes here
|
|
|
|
"lineLength": 80,
|
|
|
|
"lint": {
|
|
|
|
"extendSelect": ["I"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"languages": {
|
|
|
|
"Python": {
|
2024-12-21 11:56:42 +01:00
|
|
|
"show_inline_completions": true,
|
2024-09-03 18:59:19 +02:00
|
|
|
"language_servers": ["pyright", "ruff"],
|
|
|
|
"formatter": {
|
|
|
|
"external": {
|
2024-12-21 11:56:42 +01:00
|
|
|
"command": "/home/hyro/.local/share/zed/extensions/work/ruff/ruff-0.8.4/ruff-x86_64-unknown-linux-gnu/ruff",
|
2024-09-03 18:59:19 +02:00
|
|
|
"arguments": ["format", "-"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"format_on_save": "on"
|
2024-12-21 11:56:42 +01:00
|
|
|
},
|
|
|
|
"Astro": {
|
|
|
|
"formatter": "prettier",
|
|
|
|
"code_actions_on_format": {
|
|
|
|
"source.fixAll.eslint": true
|
|
|
|
},
|
|
|
|
"format_on_save": "on"
|
|
|
|
},
|
|
|
|
"TypeScript": {
|
|
|
|
"formatter": "prettier",
|
|
|
|
"code_actions_on_format": {
|
|
|
|
"source.fixAll.eslint": true
|
|
|
|
},
|
|
|
|
"format_on_save": "on"
|
|
|
|
},
|
|
|
|
"TSX": {
|
|
|
|
"formatter": "prettier",
|
|
|
|
"code_actions_on_format": {
|
|
|
|
"source.fixAll.eslint": true
|
|
|
|
},
|
|
|
|
"format_on_save": "on"
|
|
|
|
},
|
|
|
|
"JavaScript": {
|
|
|
|
"formatter": "prettier",
|
|
|
|
"code_actions_on_format": {
|
|
|
|
"source.fixAll.eslint": true
|
|
|
|
},
|
|
|
|
"format_on_save": "on"
|
2024-08-08 12:42:31 +02:00
|
|
|
}
|
2024-12-21 11:56:42 +01:00
|
|
|
},
|
|
|
|
// Assistant
|
|
|
|
"assistant": {
|
|
|
|
"default_model": {
|
2024-12-23 11:34:51 +01:00
|
|
|
"provider": "copilot_chat",
|
|
|
|
"model": "gpt-4o"
|
2024-12-21 11:56:42 +01:00
|
|
|
},
|
|
|
|
"version": "2"
|
2024-08-08 12:42:31 +02:00
|
|
|
}
|
|
|
|
// The following settings have been changed from the upstream defaults to
|
|
|
|
// improve security and privacy. Here are the upstream defaults, you can
|
|
|
|
// uncomment them if you like.
|
|
|
|
//
|
|
|
|
// "features": {
|
|
|
|
// // Enable copilot (provided by an online service).
|
|
|
|
// "copilot": true,
|
|
|
|
// "inline_completion_provider": "copilot"
|
|
|
|
// },
|
|
|
|
// "assistant": {
|
|
|
|
// "version": "1",
|
|
|
|
// // Enable the assistant (provided by an online service).
|
|
|
|
// "enabled": true
|
|
|
|
// },
|
|
|
|
// "telemetry": {
|
|
|
|
// // Send debug info like crash reports to Zed Industries.
|
|
|
|
// "diagnostics": true,
|
|
|
|
// // Send anonymized usage data like what languages you're using Zed with
|
|
|
|
// // to Zed Industries.
|
|
|
|
// "metrics": true
|
|
|
|
// },
|
|
|
|
// "journal": {
|
|
|
|
// "hour_format": "hour12"
|
|
|
|
// }
|
|
|
|
}
|