mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/copilot-vim: set defaultText
for node_command
This commit is contained in:
parent
758bdd8dd1
commit
dbcdff7bbb
1 changed files with 2 additions and 1 deletions
|
@ -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.";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue