Rename zed.jsonc.j2 to zed.jsonc and fix trailing commas
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
- name: Template Zed settings with 1Password secrets
|
- name: Template Zed settings with 1Password secrets
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: zed.jsonc.j2
|
src: zed.jsonc
|
||||||
dest: "{{ user_home }}/.config/zed/settings.json"
|
dest: "{{ user_home }}/.config/zed/settings.json"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
"source": "extension",
|
"source": "extension",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"settings": {
|
"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": {
|
"memory": {
|
||||||
"source": "custom",
|
"source": "custom",
|
||||||
@@ -24,56 +24,56 @@
|
|||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": ["-y", "@modelcontextprotocol/server-memory"],
|
"args": ["-y", "@modelcontextprotocol/server-memory"],
|
||||||
"env": {
|
"env": {
|
||||||
"MEMORY_FILE_PATH": "${input:memory_file_path}"
|
"MEMORY_FILE_PATH": "${input:memory_file_path}",
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"edit_prediction_provider": "copilot"
|
"edit_prediction_provider": "copilot",
|
||||||
},
|
},
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"diagnostics": false,
|
"diagnostics": false,
|
||||||
"metrics": false
|
"metrics": false,
|
||||||
},
|
},
|
||||||
"ssh_connections": [
|
"ssh_connections": [
|
||||||
{
|
{
|
||||||
"host": "desktop",
|
"host": "desktop",
|
||||||
"projects": [
|
"projects": [
|
||||||
{
|
{
|
||||||
"paths": ["/home/menno/.dotfiles"]
|
"paths": ["/home/menno/.dotfiles"],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"host": "salt.dev-via-laptop",
|
"host": "salt.dev-via-laptop",
|
||||||
"username": "salt",
|
"username": "salt",
|
||||||
"projects": [
|
"projects": [
|
||||||
{
|
{
|
||||||
"paths": ["/home/salt/releases"]
|
"paths": ["/home/salt/releases"],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"icon_theme": {
|
"icon_theme": {
|
||||||
"mode": "system",
|
"mode": "system",
|
||||||
"light": "VSCode Icons (Dark)",
|
"light": "VSCode Icons (Dark)",
|
||||||
"dark": "VSCode Icons (Dark)"
|
"dark": "VSCode Icons (Dark)",
|
||||||
},
|
},
|
||||||
"ui_font_size": 16,
|
"ui_font_size": 16,
|
||||||
"buffer_font_size": 14,
|
"buffer_font_size": 14,
|
||||||
"terminal": {
|
"terminal": {
|
||||||
"font_size": 14
|
"font_size": 14,
|
||||||
},
|
},
|
||||||
"minimap": {
|
"minimap": {
|
||||||
"show": "always",
|
"show": "always",
|
||||||
"thumb": "hover",
|
"thumb": "hover",
|
||||||
"current_line_highlight": "all",
|
"current_line_highlight": "all",
|
||||||
"display_in": "active_editor"
|
"display_in": "active_editor",
|
||||||
},
|
},
|
||||||
"theme": {
|
"theme": {
|
||||||
"mode": "system",
|
"mode": "system",
|
||||||
"light": "One Light",
|
"light": "One Light",
|
||||||
"dark": "VSCode Dark Modern"
|
"dark": "VSCode Dark Modern",
|
||||||
},
|
},
|
||||||
"tabs": {
|
"tabs": {
|
||||||
"close_position": "right",
|
"close_position": "right",
|
||||||
@@ -81,10 +81,10 @@
|
|||||||
"git_status": true,
|
"git_status": true,
|
||||||
"activate_on_close": "history",
|
"activate_on_close": "history",
|
||||||
"show_close_button": "hover",
|
"show_close_button": "hover",
|
||||||
"show_diagnostics": "errors"
|
"show_diagnostics": "errors",
|
||||||
},
|
},
|
||||||
"toolbar": {
|
"toolbar": {
|
||||||
"code_actions": true
|
"code_actions": true,
|
||||||
},
|
},
|
||||||
// #############################################
|
// #############################################
|
||||||
// ## Preferences ##
|
// ## Preferences ##
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
"tab_size": 2,
|
"tab_size": 2,
|
||||||
"inlay_hints": {
|
"inlay_hints": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"show_parameter_hints": true
|
"show_parameter_hints": true,
|
||||||
},
|
},
|
||||||
// #############################################
|
// #############################################
|
||||||
// ## AI Stuff ##
|
// ## AI Stuff ##
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
"open": true,
|
"open": true,
|
||||||
"grep": true,
|
"grep": true,
|
||||||
"thinking": true,
|
"thinking": true,
|
||||||
"web_search": true
|
"web_search": true,
|
||||||
},
|
},
|
||||||
"enable_all_context_servers": false,
|
"enable_all_context_servers": false,
|
||||||
"context_servers": {
|
"context_servers": {
|
||||||
@@ -135,25 +135,25 @@
|
|||||||
"delete_entities": true,
|
"delete_entities": true,
|
||||||
"create_relations": true,
|
"create_relations": true,
|
||||||
"create_entities": true,
|
"create_entities": true,
|
||||||
"add_observations": true
|
"add_observations": true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"mcp-server-context7": {
|
"mcp-server-context7": {
|
||||||
"tools": {
|
"tools": {
|
||||||
"resolve-library-id": true,
|
"resolve-library-id": true,
|
||||||
"get-library-docs": true
|
"get-library-docs": true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"always_allow_tool_actions": true,
|
"always_allow_tool_actions": true,
|
||||||
"default_profile": "write",
|
"default_profile": "write",
|
||||||
"model_parameters": [],
|
"model_parameters": [],
|
||||||
"default_model": {
|
"default_model": {
|
||||||
"provider": "copilot_chat",
|
"provider": "copilot_chat",
|
||||||
"model": "grok-code-fast-1"
|
"model": "grok-code-fast-1",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"edit_predictions": {
|
"edit_predictions": {
|
||||||
"mode": "subtle",
|
"mode": "subtle",
|
||||||
@@ -165,8 +165,8 @@
|
|||||||
"**/*.cert",
|
"**/*.cert",
|
||||||
"**/*.crt",
|
"**/*.crt",
|
||||||
"**/.dev.vars",
|
"**/.dev.vars",
|
||||||
"**/secrets/**"
|
"**/secrets/**",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
// #############################################
|
// #############################################
|
||||||
// ## Extensions ##
|
// ## Extensions ##
|
||||||
@@ -176,26 +176,26 @@
|
|||||||
"html": true,
|
"html": true,
|
||||||
"yaml": true,
|
"yaml": true,
|
||||||
"docker-compose": true,
|
"docker-compose": true,
|
||||||
"golang": true
|
"golang": true,
|
||||||
},
|
},
|
||||||
// #############################################
|
// #############################################
|
||||||
// ## Languages ##
|
// ## Languages ##
|
||||||
// #############################################
|
// #############################################
|
||||||
"languages": {
|
"languages": {
|
||||||
"PHP": {
|
"PHP": {
|
||||||
"language_servers": ["phptools"]
|
"language_servers": ["phptools"],
|
||||||
},
|
},
|
||||||
"Dart": {
|
"Dart": {
|
||||||
"code_actions_on_format": {
|
"code_actions_on_format": {
|
||||||
"source.organizeImports": true
|
"source.organizeImports": true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"lsp": {
|
"lsp": {
|
||||||
"phptools": {
|
"phptools": {
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
"0": "<YOUR LICENSE KEY>"
|
"0": "<YOUR LICENSE KEY>",
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user