From efe30f26a7c5a927c24cec17d23bef3bea5114ee Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sun, 24 Oct 2021 12:56:56 +0200 Subject: chore: update docs to reflect recent changes (#1841) --- utils/installer/install.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'utils/installer/install.ps1') diff --git a/utils/installer/install.ps1 b/utils/installer/install.ps1 index 4ec499c6..c46bbfc2 100644 --- a/utils/installer/install.ps1 +++ b/utils/installer/install.ps1 @@ -222,8 +222,11 @@ function setup_lvim() { New-Item "$env:LUNARVIM_CONFIG_DIR" -ItemType Directory } - Copy-Item "$env:LUNARVIM_RUNTIME_DIR\lvim\utils\installer\config.example-no-ts.lua" ` - "$env:LUNARVIM_CONFIG_DIR\config.lua" + if (Test-Path "$env:LUNARVIM_CONFIG_DIR\config.lua") { + Remove-Item -Force "$env:LUNARVIM_CONFIG_DIR\config.lua" + } + + Out-File -FilePath "$env:LUNARVIM_CONFIG_DIR\config.lua" Write-Output "Packer setup complete" -- cgit v1.2.3