diff options
| author | Ahmed Abdelhalim <[email protected]> | 2019-11-15 17:10:16 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2019-11-15 17:10:16 +0100 |
| commit | 51b67bb5a07ee3eaab080c14a8b01dc43c52c21f (patch) | |
| tree | e50e9597a1fc692f2bb9da42b697c0f90cac80e3 /after/ftplugin/ruby.vim | |
| parent | 1ae3ed9d49c2400c5411c0439c975f64d91b70de (diff) | |
Add filetype specific indentations
Diffstat (limited to 'after/ftplugin/ruby.vim')
| -rw-r--r-- | after/ftplugin/ruby.vim | 8 |
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 |
