From 8c062395be4a8f93080f2731238d538b56f80094 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 30 Oct 2024 19:35:23 +0100 Subject: [PATCH] chore: switch to ollama model --- dot_config/zed/private_settings.json | 9 +++++---- dot_zshrc.tmpl | 5 +++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dot_config/zed/private_settings.json b/dot_config/zed/private_settings.json index e4bcdd4..9142ea1 100644 --- a/dot_config/zed/private_settings.json +++ b/dot_config/zed/private_settings.json @@ -15,8 +15,8 @@ }, "assistant": { "default_model": { - "provider": "copilot_chat", - "model": "gpt-4o" + "provider": "ollama", + "model": "deepseek-coder-v2:latest" }, "version": "2" }, @@ -28,10 +28,11 @@ }, "languages": { "CSharp": { + "language_servers": ["omnisharp"], "show_copilot_suggestions": true }, - "proto": { - "language_servers": ["proto"] + "Proto": { + "language_servers": ["protobuf-language-server"] }, "Go": { "inlay_hints": { diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index eb20a8b..0b5e11b 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -47,6 +47,11 @@ if [ -d /usr/local/go/bin ]; then fi export PATH="$PATH:$HOME/go/bin" +# Cargo +if [ -d "$HOME/.cargo/bin" ]; then + export PATH="$PATH:$HOME/.cargo/bin" +fi + # Yarn if [ -d $HOME/.yarn/bin ]; then export PATH="$PATH:$HOME/.yarn/bin"