aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/ftplugin/ruby.vim5
-rw-r--r--.vim/after/plugin/gutentags.vim2
-rw-r--r--.vim/after/plugin/minpac.vim5
3 files changed, 9 insertions, 3 deletions
diff --git a/.vim/after/ftplugin/ruby.vim b/.vim/after/ftplugin/ruby.vim
index c9f7e91..e867f90 100644
--- a/.vim/after/ftplugin/ruby.vim
+++ b/.vim/after/ftplugin/ruby.vim
@@ -1,2 +1,3 @@
-set shiftwidth=2
-set softtabstop=2
+setlocal shiftwidth=2
+setlocal softtabstop=2
+setlocal foldmethod=indent
diff --git a/.vim/after/plugin/gutentags.vim b/.vim/after/plugin/gutentags.vim
index 8e38294..35cc401 100644
--- a/.vim/after/plugin/gutentags.vim
+++ b/.vim/after/plugin/gutentags.vim
@@ -7,7 +7,7 @@ let g:gutentags_ctags_extra_args += ['--c-kinds=+px']
let g:gutentags_ctags_extra_args += ['--output-format=e-ctags']
let g:gutentags_define_advanced_commands = 1
-let $GTAGSLABEL = 'native-pygments'
+let $GTAGSLABEL = 'pygments'
let g:gutentags_modules = []
if executable('ctags')
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index 54593ad..b63bbfa 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -50,6 +50,11 @@ function! InitMinpac() abort
call minpac#add('https://github.com/junegunn/vim-easy-align')
call minpac#add('https://github.com/romainl/vim-qf.git')
call minpac#add('https://github.com/tpope/vim-scriptease.git')
+ call minpac#add('https://github.com/Konfekt/FastFold', {'type': 'start'})
+
+ " Add end after if, do, def in Ruby.
+ " Add endif, endfunction in Vimscript.
+ call minpac#add('https://github.com/tpope/vim-endwise', {'type': 'start'})
call minpac#add('https://github.com/tpope/vim-commentary')
call minpac#add('https://github.com/tpope/vim-eunuch.git')