2017-08-23 23:00:24 +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.0992",
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0992/gvim_8.0.0992_x86.zip",
"hash": "7768f719e5be6c7363a8f79d55793f53b5477390b8809f4308095d9ea15a9fca"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0992/gvim_8.0.0992_x64.zip",
"hash": "41691fe6940b93c1b13892510f8e127547ca2ac6bf6e2cd50467ed8368826c02"
}
},
"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"
}
}