From d2732d24689189f02d1b3680b5c560a678321564 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 8 Sep 2020 06:14:51 +0900 Subject: Add .vim --- .vim/my/after/ftplugin/ruby.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vim/my/after/ftplugin/ruby.vim (limited to '.vim/my/after/ftplugin/ruby.vim') diff --git a/.vim/my/after/ftplugin/ruby.vim b/.vim/my/after/ftplugin/ruby.vim new file mode 100644 index 0000000..4d246e8 --- /dev/null +++ b/.vim/my/after/ftplugin/ruby.vim @@ -0,0 +1,19 @@ +scriptencoding utf-8 + + +if exists('b:did_ftplugin_ruby_after') + finish +endif + + + +FtpluginSetLocal expandtab +FtpluginSetLocal shiftwidth=2 +FtpluginSetLocal softtabstop=2 + +let g:ruby_operators = v:true +let g:ruby_space_errors = v:true + + + +let b:did_ftplugin_ruby_after = 1 -- cgit v1.2.3-70-g09d2