fix nix global use fail
This commit is contained in:
parent
8203fae543
commit
197da90492
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue