1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 12:06:05 +01:00

plugins/copilot-vim: set defaultText for node_command

This commit is contained in:
Matt Sturgeon 2025-01-24 23:20:09 +00:00
parent 758bdd8dd1
commit dbcdff7bbb
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

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.";
};