mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
parent
786935d359
commit
1fd503daea
@ -21,10 +21,6 @@
|
||||
" $content = (Get-Content \"$bucketsdir\\main\\scripts\\vim\\$_\").Replace('$vim', $vimpath)",
|
||||
" if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
|
||||
" Set-Content \"$dir\\$_\" $content",
|
||||
"}",
|
||||
"if (!(Test-Path \"$persist_dir\\vimrc\")) {",
|
||||
" New-Item \"$dir\\vimrc\" -ItemType File | Out-Null",
|
||||
" Add-Content \"$dir\\vimrc\" \"set shell=$((Get-Command powershell).Path)\\ -ExecutionPolicy\\ Bypass\" -Encoding Ascii",
|
||||
"}"
|
||||
],
|
||||
"bin": [
|
||||
@ -97,10 +93,6 @@
|
||||
"gVim"
|
||||
]
|
||||
],
|
||||
"persist": [
|
||||
"vimfiles",
|
||||
"vimrc"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://ftp.nluug.nl/pub/vim/pc",
|
||||
"regex": "gvim(?<ver>[\\d-]+)\\.exe\\s+V([\\d.]+)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user