Skip to content

Commit

Permalink
VAM-kr rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyX-I committed Jan 20, 2014
1 parent 93d68b6 commit 63efd3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autoload/vam/install.vim
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fun! vam#install#GetRepo(name, opts)
try
" using try because pool implementations other then vim-pi could be
" used
call extend(maybe_fixes, vamkr#SuggestNewName(a:name))
call extend(maybe_fixes, vimpi#SuggestNewName(a:name))
catch /Vim(call):E117:/
" If vim-pi activation policy is never, then the above will yield
" unknown function error
Expand Down
2 changes: 1 addition & 1 deletion doc/vim-addon-manager-additional-documentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ Using a $SHELL setting other than /bin/sh may not work on *nix like systems
" slow performance. This could be optimized some more - I do no longer
" care about such old Vim versions. Think about upgrading.
for f in split(glob(vam_install_path.'/vim-addon-manager*/**/*.vim', 1),"\n")
if f =~ 'plugin/vim-addon-manager-known-repositories.vim' | continue | endif
if f =~ '/db/' | continue | endif
exec 'source '.fnameescape(f)
endfor
<
Expand Down
6 changes: 3 additions & 3 deletions downloader/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function vimrc($names, $silent){
let g:vim_addon_manager.log_to_buf = 1
\" activation is disabled manually enabling VAM-kr
exec 'set runtimepath+='.filter([\$HOME.'/.vim', \$HOME.'/vimfiles'],'isdirectory(v:val)')[0].'/vim-addons/vim-addon-manager-known-repositories'
exec 'set runtimepath+='.filter([\$HOME.'/.vim', \$HOME.'/vimfiles'],'isdirectory(v:val)')[0].'/vim-addons/vim-pi'
" : "")."
".vimrc_win_hack()."
Expand Down Expand Up @@ -183,7 +183,7 @@ function aszip($names){
export PATH=/var/run/current-system/sw/bin
git clone --depth 1 git://github.com/MarcWeber/vim-addon-manager.git .vim/vim-addons/vim-addon-manager
( cd vim-addon-manager; git chekout HEAD~20; )
# git clone --depth 1 git://github.com/MarcWeber/vim-addon-manager-known-repositories.git .vim/vim-addons/vim-addon-manager-known-repositories
# git clone --depth 1 https://bitbucket.org/vimcommunity/vim-pi .vim/vim-addons/vim-pi
export HOME=$dir
Expand Down Expand Up @@ -229,7 +229,7 @@ function aszip($names){
$errors = array();
$name_cache = name_cache();
foreach($names as &$n){
if (preg_match('/^(VAM|vim-addon-manager|VAM-kr|vim-addon-manager-known-repositories)$/', $n)){
if (preg_match('/^((?i)VAM|vim-addon-manager|VAM-kr|vim-addon-manager-known-repositories|vim-pi)$/', $n)){
$errors[] = $n.' will be included automatically, retry';
}
$n = preg_replace('/[[\]\'"]/', '', $n);
Expand Down

0 comments on commit 63efd3b

Please sign in to comment.