X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=vim-syntastic%2Finstall.ps1;fp=vim-syntastic%2Finstall.ps1;h=41cee14fce8bd9edc6cdd7eb2f051235320b196e;hb=5fcebb78a1cb578759ed153b14180ffba2600290;hp=0000000000000000000000000000000000000000;hpb=19d5e023ce166b4b7440e64939b75c8e7263a22c;p=webi-installers%2F.git diff --git a/vim-syntastic/install.ps1 b/vim-syntastic/install.ps1 new file mode 100644 index 0000000..41cee14 --- /dev/null +++ b/vim-syntastic/install.ps1 @@ -0,0 +1,7 @@ +#!/usr/bin/env pwsh + +IF (!(Test-Path -Path "$Env:USERPROFILE\.vim\pack\plugins\start")) { + New-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start" -ItemType Directory +} +Remove-Item -Path "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic" -Recurse -ErrorAction Ignore +& git clone --depth=1 https://github.com/vim-syntastic/syntastic.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-syntastic"