plugins/copilot-vim: set defaultText for node_command

This commit is contained in:
Matt Sturgeon
2025-01-25 19:16:07 +00:00
parent 758bdd8dd1
commit dbcdff7bbb
+2 -1
View File
@@ -24,7 +24,8 @@ lib.nixvim.plugins.mkVimPlugin {
settingsOptions = {
node_command = mkOption {
type = with types; nullOr str;
default = "${pkgs.nodejs-18_x}/bin/node";
default = lib.getExe pkgs.nodejs-18_x;
defaultText = lib.literalExpression "lib.getExe pkgs.nodejs-18_x";
description = "Tell Copilot what `node` binary to use.";
};