setup ternjs of vim
This commit is contained in:
parent
fffb82a81e
commit
c8ecb466b4
11
Rakefile
11
Rakefile
@ -155,6 +155,17 @@ task :install_vundle do
|
|||||||
end
|
end
|
||||||
|
|
||||||
Vundle::update_vundle
|
Vundle::update_vundle
|
||||||
|
Rake::Task["vim_tern_setup"].execute
|
||||||
|
end
|
||||||
|
|
||||||
|
task :vim_tern_setup do
|
||||||
|
run %{
|
||||||
|
npm -v &> /dev/null;
|
||||||
|
if [[ $? == "0" ]]; then
|
||||||
|
cd $HOME/.yadr/vim/bundle/tern_for_vim
|
||||||
|
npm install
|
||||||
|
fi
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default => 'install'
|
task :default => 'install'
|
||||||
|
Loading…
Reference in New Issue
Block a user