summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/ruby.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/ruby.vim')
-rw-r--r--after/ftplugin/ruby.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/after/ftplugin/ruby.vim b/after/ftplugin/ruby.vim
new file mode 100644
index 0000000..ad4ed03
--- /dev/null
+++ b/after/ftplugin/ruby.vim
@@ -0,0 +1,8 @@
+set omnifunc=rubycomplete#Complete
+let g:rubycomplete_buffer_loading = 1
+let g:rubycomplete_rails = 1
+let g:rubycomplete_classes_in_global = 1
+let g:rubycomplete_include_object = 1
+let g:rubycomplete_include_objectspace = 1
+setlocal spell " allow spell checking for ruby documentation
+set complete+=k " allow spell autocompletion using CTRL-N