Rename zed.jsonc.j2 to zed.jsonc and fix trailing commas
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 4s
Nix Format Check / check-format (push) Successful in 1m8s
Python Lint Check / check-python (push) Failing after 5s

This commit is contained in:
2025-09-24 16:12:34 +02:00
parent d33f367c5f
commit c6449affcc
2 changed files with 43 additions and 43 deletions

View File

@@ -13,7 +13,7 @@
- name: Template Zed settings with 1Password secrets
ansible.builtin.template:
src: zed.jsonc.j2
src: zed.jsonc
dest: "{{ user_home }}/.config/zed/settings.json"
mode: "0644"
tags:

View File

@@ -15,8 +15,8 @@
"source": "extension",
"enabled": true,
"settings": {
"context7_api_key": "{{ lookup('community.general.onepassword', 'Zed Settings', vault='Dotfiles', field='mcp-server-context7') }}"
}
"context7_api_key": "{{ lookup('community.general.onepassword', 'Zed Settings', vault='Dotfiles', field='mcp-server-context7') }}",
},
},
"memory": {
"source": "custom",
@@ -24,56 +24,56 @@
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"],
"env": {
"MEMORY_FILE_PATH": "${input:memory_file_path}"
}
}
"MEMORY_FILE_PATH": "${input:memory_file_path}",
},
},
},
"features": {
"edit_prediction_provider": "copilot"
"edit_prediction_provider": "copilot",
},
"telemetry": {
"diagnostics": false,
"metrics": false
"metrics": false,
},
"ssh_connections": [
{
"host": "desktop",
"projects": [
{
"paths": ["/home/menno/.dotfiles"]
}
]
"paths": ["/home/menno/.dotfiles"],
},
],
},
{
"host": "salt.dev-via-laptop",
"username": "salt",
"projects": [
{
"paths": ["/home/salt/releases"]
}
]
}
"paths": ["/home/salt/releases"],
},
],
},
],
"icon_theme": {
"mode": "system",
"light": "VSCode Icons (Dark)",
"dark": "VSCode Icons (Dark)"
"dark": "VSCode Icons (Dark)",
},
"ui_font_size": 16,
"buffer_font_size": 14,
"terminal": {
"font_size": 14
"font_size": 14,
},
"minimap": {
"show": "always",
"thumb": "hover",
"current_line_highlight": "all",
"display_in": "active_editor"
"display_in": "active_editor",
},
"theme": {
"mode": "system",
"light": "One Light",
"dark": "VSCode Dark Modern"
"dark": "VSCode Dark Modern",
},
"tabs": {
"close_position": "right",
@@ -81,10 +81,10 @@
"git_status": true,
"activate_on_close": "history",
"show_close_button": "hover",
"show_diagnostics": "errors"
"show_diagnostics": "errors",
},
"toolbar": {
"code_actions": true
"code_actions": true,
},
// #############################################
// ## Preferences ##
@@ -100,7 +100,7 @@
"tab_size": 2,
"inlay_hints": {
"enabled": true,
"show_parameter_hints": true
"show_parameter_hints": true,
},
// #############################################
// ## AI Stuff ##
@@ -121,7 +121,7 @@
"open": true,
"grep": true,
"thinking": true,
"web_search": true
"web_search": true,
},
"enable_all_context_servers": false,
"context_servers": {
@@ -135,25 +135,25 @@
"delete_entities": true,
"create_relations": true,
"create_entities": true,
"add_observations": true
}
"add_observations": true,
},
},
"mcp-server-context7": {
"tools": {
"resolve-library-id": true,
"get-library-docs": true
}
}
}
}
"get-library-docs": true,
},
},
},
},
},
"always_allow_tool_actions": true,
"default_profile": "write",
"model_parameters": [],
"default_model": {
"provider": "copilot_chat",
"model": "grok-code-fast-1"
}
"model": "grok-code-fast-1",
},
},
"edit_predictions": {
"mode": "subtle",
@@ -165,8 +165,8 @@
"**/*.cert",
"**/*.crt",
"**/.dev.vars",
"**/secrets/**"
]
"**/secrets/**",
],
},
// #############################################
// ## Extensions ##
@@ -176,26 +176,26 @@
"html": true,
"yaml": true,
"docker-compose": true,
"golang": true
"golang": true,
},
// #############################################
// ## Languages ##
// #############################################
"languages": {
"PHP": {
"language_servers": ["phptools"]
"language_servers": ["phptools"],
},
"Dart": {
"code_actions_on_format": {
"source.organizeImports": true
}
}
"source.organizeImports": true,
},
},
},
"lsp": {
"phptools": {
"initialization_options": {
"0": "<YOUR LICENSE KEY>"
}
}
}
"0": "<YOUR LICENSE KEY>",
},
},
},
}