From 197da90492cb61fd3f731c64fb3eaba4e232364a Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 27 Oct 2025 18:01:31 -0500 Subject: [PATCH] fix nix global use fail --- lua/plugins/cmp_autocompletion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/cmp_autocompletion.lua b/lua/plugins/cmp_autocompletion.lua index 17f9270..109448c 100644 --- a/lua/plugins/cmp_autocompletion.lua +++ b/lua/plugins/cmp_autocompletion.lua @@ -23,7 +23,7 @@ return { cmd = "Copilot", event = "InsertEnter", opts = { - copilot_node_command = NIX.nodejs_24_path and (NIX.nodejs_24_path .. "/bin/node") or "node", + copilot_node_command = (NIX and NIX.nodejs_24_path and (NIX.nodejs_24_path .. "/bin/node")) or "node", }, main = "copilot", },