Skip to content

Correct example PowerShell -Uri argument name#2304

Merged
JustinGrote merged 2 commits into
PowerShell:mainfrom
nzbart:fix_typo
Jun 15, 2026
Merged

Correct example PowerShell -Uri argument name#2304
JustinGrote merged 2 commits into
PowerShell:mainfrom
nzbart:fix_typo

Conversation

@nzbart

@nzbart nzbart commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

PR Summary

The Getting Started page has sample PowerShell that readers can execute to integrate with Neovim. However, the sample code has a typo, with the hyphen missing for the -Uri argument.

I've corrected the typo.

PR Context

This is the error that readers would encounter before this fix:

> Invoke-WebRequest -Method 'GET' Uri $DownloadUrl -OutFile $ZipPath;
Invoke-WebRequest: A positional parameter cannot be found that accepts argument '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/neovim/nvim-lspconfig/archive/refs/heads/master.zip'.

This is the line with the bug:

Invoke-WebRequest -Method 'GET' Uri $DownloadUrl -OutFile $ZipPath;

The Getting Started page has sample PowerShell that readers can execute
to integrate with Neovim. However, the sample code has a typo, with the
hyphen missing for the -Uri argument.

I've corrected the typo.

This is the error that readers would encounter before this fix:

> Invoke-WebRequest -Method 'GET' Uri $DownloadUrl -OutFile $ZipPath;
Invoke-WebRequest: A positional parameter cannot be found that accepts argument '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/neovim/nvim-lspconfig/archive/refs/heads/master.zip'.
Copilot AI review requested due to automatic review settings June 14, 2026 20:33
@nzbart nzbart requested a review from a team as a code owner June 14, 2026 20:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the getting started guide’s PowerShell download command to use the correct Invoke-WebRequest parameter syntax.

Changes:

  • Fix Invoke-WebRequest usage by adding the missing parameter dash for -Uri.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JustinGrote

Copy link
Copy Markdown
Collaborator

@nzbart thank you for submission! Always happy to receive documentation corrections!

@JustinGrote JustinGrote enabled auto-merge (squash) June 15, 2026 00:44
@JustinGrote JustinGrote merged commit 6ad4f46 into PowerShell:main Jun 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants