2017-09-19 06:01:48 +00:00

47 lines
1.7 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)) {
cp \"$dir\\vimrc_example.vim\" ~\\.vimrc
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\.vimrc -append -encoding ascii
echo '~/.vimrc was created with your shell set to Powershell.'
} else { echo '~/.vimrc exists, skipping' }",
"checkver": {
"github": "https://github.com/vim/vim-win32-installer"
},
"env_set": {
"VIM": "$dir"
},
"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"
}
}