Skip to content

Commit 8375fed

Browse files
committed
Correct example PowerShell -Uri argument name
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 'https://github.com/neovim/nvim-lspconfig/archive/refs/heads/master.zip'.
1 parent 40cf5e1 commit 8375fed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Alternatively, you can extract the zip file into the same place:
4545
$DownloadUrl = 'https://github.com/neovim/nvim-lspconfig/archive/refs/heads/master.zip';
4646
$ZipPath = "$HOME/AppData/local/nvim/nvim-lspconfig.zip";
4747
$InstallPath = "$HOME/AppData/local/nvim/pack/complete/start/nvim-lspconfig";
48-
Invoke-WebRequest -Method 'GET' Uri $DownloadUrl -OutFile $ZipPath;
48+
Invoke-WebRequest -Method 'GET' -Uri $DownloadUrl -OutFile $ZipPath;
4949
Expand-Archive -Path $ZipPath -DestinationPath $InstallPath;
5050
```
5151

0 commit comments

Comments
 (0)