From 8a3763e1689a0d161d5c48516f1798d3b36b3ad3 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 7 Jan 2025 21:29:49 +0200 Subject: [PATCH] chore(config): zed config tweaks --- config/zed/settings.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/zed/settings.json b/config/zed/settings.json index 6288a35..7e3e85f 100644 --- a/config/zed/settings.json +++ b/config/zed/settings.json @@ -1,4 +1,11 @@ { + "assistant": { + "default_model": { + "provider": "copilot_chat", + "model": "gpt-4o" + }, + "version": "2" + }, "formatter": { "external": { "command": "node_modules/.bin/prettier", @@ -9,12 +16,23 @@ } }, "languages": { + "JavaScript": { + "enable_language_server": true, + "code_actions_on_format": { + "source.fixAll.eslint": true + } + }, "Lua": { "enable_language_server": true, "tab_size": 2 } }, "lsp": { + "eslint": { + "settings": { + "nodePath": "./node_modules/.bin" + } + }, "gopls": { "initialization_options": { "hints": {