Created
March 18, 2011 22:25
-
-
Save spastorino/876962 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Rakefile b/Rakefile | |
| index 24eb59a..388d8e7 100644 | |
| --- a/Rakefile | |
| +++ b/Rakefile | |
| @@ -197,6 +197,7 @@ end | |
| vim_plugin_task 'bufexplorer', 'git://github.com/vim-scripts/bufexplorer.zip.git' | |
| vim_plugin_task 'matchit', 'git://github.com/vim-scripts/matchit.zip.git' | |
| +vim_plugin_task 'ruby', 'git://github.com/vim-ruby/vim-ruby.git' | |
| #vim_plugin_task 'githublink' do | |
| # sh 'curl https://github.com/tenderlove/dot_vim/raw/master/plugin/githublink.vim > ~/.vim/plugin/githublink.vim' | |
| diff --git a/vimrc.local b/vimrc.local | |
| index 240414b..4887956 100644 | |
| --- a/vimrc.local | |
| +++ b/vimrc.local | |
| @@ -29,3 +29,14 @@ nnoremap <CR> :noh<CR><CR> | |
| let g:github_user = 'USER' | |
| let g:github_token = 'TOKEN' | |
| + | |
| +set suffixesadd=.rb | |
| +set path+=lib/**,test/** | |
| + | |
| +if has("ruby") " assume system has ruby | |
| + " Add stdlib of environment's ruby to path | |
| + let stdlib = system('ruby -rrbconfig -e"print RbConfig::CONFIG[\"rubylibdir\"]"') | |
| + let &l:path = &path . "," . stdlib | |
| +endif | |
| + | |
| +let g:ruby_path = &path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment