add vim -syntastic, and vim-sensible for windows
[webi-installers/.git] / vim-go / install.ps1
index 5c72a7c93a744ecf5b456d9cd3e7db8be721d815..c77e39acdc9b1a7fe043f7cb7be26bb0e649c77a 100644 (file)
@@ -1,4 +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-go" -Recurse -ErrorAction Ignore
 & git clone --depth=1 https://github.com/fatih/vim-go.git "$Env:USERPROFILE\.vim\pack\plugins\start\vim-go"