From 9ff59044ef0158974334fd2e4e89976d04fb3f85 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sun, 31 Mar 2024 21:21:40 +0200 Subject: [PATCH] helix: enable copilot w/helix-gpt --- .config/helix/languages.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index bcbd0e7..1193075 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -5,6 +5,17 @@ roots = [ "Cargo.toml", "Cargo.lock" ] +language-servers = [ + "rust-analyzer", + "gpt", +] + +[[language]] +name = "go" +language-servers = [ + "gopls", + "gpt", +] [language.auto-pairs] '(' = ')' @@ -28,3 +39,8 @@ lifetimeElisionHints.enable = "skip_trivial" parameterHints.enable = true typeHints.enable = true typeHints.hideClosureInitialization = false + +[language-server.gpt] +command = "helix-gpt" +args = ["--handler", "copilot", "--logFile", "/home/dln/.cache/helix/helix-gpt.log"] +