mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-17 21:01:25 +00:00
* Better handling of existing Vim configuration - Check for an existing vimrc file in (almost) all standard locations for Vim in Windows. - Use _vimrc instead of .vimrc as default vimrc file name. * Don't set VIM environment variable
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"homepage": "http://www.vim.org",
|
|
"license": "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license",
|
|
"version": "8.0.1127",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1127/gvim_8.0.1127_x86.zip",
|
|
"hash": "38b57f6e526f8d4ed163d3cb32f4ff092e54e7560ce4e1edda116b39601142b2"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1127/gvim_8.0.1127_x64.zip",
|
|
"hash": "53c4e7ccef43017f174870310f604b43faaf1346c367a3cfa091483c39754a2a"
|
|
}
|
|
},
|
|
"extract_dir": "vim\\vim80",
|
|
"bin": [
|
|
"vim.exe",
|
|
"gvim.exe"
|
|
],
|
|
"post_install": "if( !(test-path ~\\.vimrc) -and !(test-path ~\\_vimrc) -and !(test-path ~\\vimfiles\\vimrc) -and !(test-path $env:VIM\\_vimrc) ) {
|
|
cp \"$dir\\vimrc_example.vim\" ~\\_vimrc
|
|
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\_vimrc -append -encoding ascii
|
|
echo 'Default vimrc file created in ~/_vimrc, with shell set to PowerShell.'
|
|
} else { echo 'Existing vimrc file found, no default configuration created' }",
|
|
"checkver": {
|
|
"github": "https://github.com/vim/vim-win32-installer"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
}
|
|
}
|
|
},
|
|
"suggest": {
|
|
"vimtutor": "vimtutor"
|
|
}
|
|
}
|