mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-30 02:34:21 -05:00
plugins/copilot-vim: set defaultText for node_command
This commit is contained in:
@@ -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.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user