diff options
author | Guangxiong Lin <[email protected]> | 2023-10-18 23:53:12 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-10-18 23:53:12 +0800 |
commit | 059def4897e06d73b1846996bd9dad47e7c5d290 (patch) | |
tree | 885c4919c34477532a4f09b8c7095e13ce912823 | |
parent | 7d758a74c7b35bdd3c6e65839e1fad79c5eb6dab (diff) | |
download | dotfiles-059def4897e06d73b1846996bd9dad47e7c5d290.tar.gz dotfiles-059def4897e06d73b1846996bd9dad47e7c5d290.tar.bz2 dotfiles-059def4897e06d73b1846996bd9dad47e7c5d290.zip |
Update vim ruby config
-rw-r--r-- | .vim/after/plugin/minpac.vim | 4 | ||||
-rw-r--r-- | .vim/after/plugin/ruby.vim | 5 |
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 |