Skip to content

Commit a1d94a0

Browse files
marcinjahnAntoineGS
authored andcommitted
docs: nodejs >= 22 required
1 parent 3cd5086 commit a1d94a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ require('copilot').setup({
162162
trace_lsp_progress = false,
163163
log_lsp_messages = false,
164164
},
165-
copilot_node_command = 'node', -- Node.js version must be > 20
165+
copilot_node_command = 'node', -- Node.js version must be > 22
166166
workspace_folders = {},
167167
copilot_model = "",
168168
disable_limit_reached_message = false, -- Set to `true` to suppress completion limit reached popup
@@ -384,12 +384,12 @@ Careful turning on all logging features as the log files may get very large over
384384

385385
### copilot_node_command
386386

387-
Use this field to provide the path to a specific node version such as one installed by nvm. Node.js version must be 20 or newer.
387+
Use this field to provide the path to a specific node version such as one installed by nvm. Node.js version must be 22 or newer.
388388

389389
Example:
390390

391391
```lua
392-
copilot_node_command = vim.fn.expand("$HOME") .. "/.config/nvm/versions/node/v20.0.1/bin/node", -- Node.js version must be > 20
392+
copilot_node_command = vim.fn.expand("$HOME") .. "/.config/nvm/versions/node/v22.0.0/bin/node", -- Node.js version must be > 22
393393
```
394394

395395
### server_opts_overrides

0 commit comments

Comments
 (0)