File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ local api = require("copilot.api")
22local config = require (" copilot.config" )
33local util = require (" copilot.util" )
44
5+ local cmd = {" /home/zach/Dev/copilot/copilot-rs/target/release/copilot-rs" }
56local is_disabled = false
67
78local M = {
4849function M .get_node_version ()
4950 if not M .node_version then
5051 -- local node = config.get("copilot_node_command")
51- local cmd = { " /home/zach/Dev/copilot/copilot-rs/target/release/copilot-rs" }
5252
5353 -- local cmd = { node, "--version" }
5454 local cmd_output_table = vim .fn .systemlist (cmd , nil , false )
@@ -177,7 +177,11 @@ local function prepare_client_config(overrides)
177177 M .startup_error = nil
178178
179179 return vim .tbl_deep_extend (" force" , {
180- cmd = { " /home/zach/Dev/copilot/copilot-rs/target/debug/copilot-rs" },
180+ cmd = cmd ,
181+ cmd_env = {
182+ RUST_LOG = " info" ,
183+ RUST_BACKTRACE = " FULL" ,
184+ },
181185 root_dir = vim .loop .cwd (),
182186 name = " copilot" ,
183187 get_language_id = function (_ , filetype )
You can’t perform that action at this time.
0 commit comments