From 01f8d5a2968851f006115a793c8c0d42e91f0826 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Tue, 18 Mar 2025 15:26:12 -0400 Subject: [PATCH] Added helix-gpt as an lsp to helix --- dot_config/flake/machines/hinge/darwin.nix | 4 ++++ dot_config/flake/machines/hinge/home.nix | 2 ++ dot_config/helix/languages.toml | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) diff --git a/dot_config/flake/machines/hinge/darwin.nix b/dot_config/flake/machines/hinge/darwin.nix index 3788b94..96857c4 100644 --- a/dot_config/flake/machines/hinge/darwin.nix +++ b/dot_config/flake/machines/hinge/darwin.nix @@ -62,6 +62,10 @@ in { jdk17 conan + + deno + lsp-ai + python312Packages.jedi-language-server ]; homebrew = { diff --git a/dot_config/flake/machines/hinge/home.nix b/dot_config/flake/machines/hinge/home.nix index 9e423b2..33700a0 100644 --- a/dot_config/flake/machines/hinge/home.nix +++ b/dot_config/flake/machines/hinge/home.nix @@ -21,6 +21,8 @@ black ruff + unstable.copilot-language-server + swiftlint unstable.helix-gpt unstable.lsp-ai diff --git a/dot_config/helix/languages.toml b/dot_config/helix/languages.toml index 1d3f5f8..022cd67 100644 --- a/dot_config/helix/languages.toml +++ b/dot_config/helix/languages.toml @@ -3,6 +3,7 @@ clangd = { command = "clangd", args = ["--header-insertion=never"]} biome = { command = "biome", args = ["lsp-proxy"] } fish_lsp = {command = "fish-lsp", args = ["start"]} slangd = {command = "slangd"} +gpt = {command = "helix-gpt", args = ["--handler", "copilot"]} [[language]] name = "fish" @@ -27,6 +28,21 @@ scope = "source.nix" auto-format = true formatter = { command = "alejandra", args = ["-q"] } +[[language]] +name = "cpp" +language-servers = [ + "clangd", + "gpt" +] + +[[language]] +name = "python" +language-servers = [ + "ruff", + "pylsp", + "gpt" +] + [[language]] name = "objc" scope = "source.objc"