change from gitlab to FoGit dotfiles

This commit is contained in:
2026-08-26 21:00:57 +01:00
parent 3c209ac745
commit 05e6c87879
+4 -4
View File
@@ -69,14 +69,14 @@ foreach ($pkg in $packages) {
scoop install $pkg
if ($pkg -eq "main/neovim") {
Write-Host "==> Fetching Neovim config (init.lua) from GitLab..." -ForegroundColor Cyan
Write-Host "==> Fetching Neovim config (init.lua) from FoGit..." -ForegroundColor Cyan
$nvimConfigDir = "$HOME\AppData\Local\nvim"
New-Item -ItemType Directory -Force -Path $nvimConfigDir | Out-Null
Invoke-RestMethod `
-Uri "https://gitlab.com/api/v4/projects/bartal-lsn%2Fdotfiles/repository/files/nvim%2F.config%2Fnvim%2Finit.lua/raw?ref=main" `
-OutFile "$nvimConfigDir\init.lua"
Invoke-RestMethod `
-Uri "https://git.flo.fo/FLO/dotfiles/raw/branch/main/nvim/.config/nvim/init.lua" `
-OutFile "$nvimConfigDir\init.lua"
Write-Host "==> Neovim config saved to $nvimConfigDir\init.lua" -ForegroundColor Green
}