aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/minpac.vim4
-rw-r--r--.vim/after/plugin/ruby.vim5
2 files changed, 6 insertions, 3 deletions
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index d76b1bd..54593ad 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -78,10 +78,7 @@ function! InitMinpac() abort
" appearance
call minpac#add('https://github.com/joshdick/onedark.vim.git', {'type': 'opt'})
- " call minpac#add('https://github.com/vim-airline/vim-airline.git', {'type': 'opt'})
- " call minpac#add('https://github.com/vim-airline/vim-airline-themes.git', {'type': 'opt'})
call minpac#add('https://github.com/itchyny/lightline.vim')
- " call minpac#add('https://github.com/ap/vim-buftabline')
" chinese input method
call minpac#add('https://github.com/lilydjwg/fcitx.vim.git', {'type': 'opt'})
@@ -100,6 +97,7 @@ function! InitMinpac() abort
call minpac#add('https://github.com/rust-lang/rust.vim', {'type': 'start'})
call minpac#add('https://github.com/vim-ruby/vim-ruby', {'type': 'start'})
call minpac#add('https://github.com/tpope/vim-rails', {'type': 'start'})
+ call minpac#add('https://github.com/tpope/vim-bundler', {'type': 'start'})
" misc
call minpac#add('https://github.com/freitass/todo.txt-vim.git', {'type': 'opt'})
diff --git a/.vim/after/plugin/ruby.vim b/.vim/after/plugin/ruby.vim
new file mode 100644
index 0000000..5addcc4
--- /dev/null
+++ b/.vim/after/plugin/ruby.vim
@@ -0,0 +1,5 @@
+let g:rubycomplete_buffer_loading = 1
+let g:rubycomplete_classes_in_global = 1
+let g:rubycomplete_rails = 1
+let g:rubycomplete_load_gemfile = 1
+let g:rubycomplete_use_bundler = 1