diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-15 20:25:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-15 20:25:09 +0000 |
commit | c6249bb24629c49cfc315ac540a21edf18a61eaf (patch) | |
tree | 815229a041a28df27396d1bbe8bfb418a2154928 /runtime/ftplugin | |
parent | 01a347a1bb78774a62dd8c251c75a7541b58cdb7 (diff) | |
download | vim-c6249bb24629c49cfc315ac540a21edf18a61eaf.zip |
updated for version 7.0d05
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/eruby.vim | 12 | ||||
-rw-r--r-- | runtime/ftplugin/ruby.vim | 16 |
2 files changed, 16 insertions, 12 deletions
diff --git a/runtime/ftplugin/eruby.vim b/runtime/ftplugin/eruby.vim index d256831bf..6d8b4eafd 100644 --- a/runtime/ftplugin/eruby.vim +++ b/runtime/ftplugin/eruby.vim @@ -1,10 +1,10 @@ " Vim filetype plugin -" Language: eRuby -" Maintainer: Doug Kearns <djkea2 at gus.gscit.monash.edu.au> -" Info: $Id$ -" URL: http://vim-ruby.rubyforge.org -" Anon CVS: See above site -" ---------------------------------------------------------------------------- +" Language: eRuby +" Maintainer: Doug Kearns <dougkearns@gmail.com> +" Info: $Id$ +" URL: http://vim-ruby.rubyforge.org +" Anon CVS: See above site +" Release Coordinator: Doug Kearns <dougkearns@gmail.com> " Only do this when not done yet for this buffer if (exists("b:did_ftplugin")) diff --git a/runtime/ftplugin/ruby.vim b/runtime/ftplugin/ruby.vim index 8ce7f12ac..40d1c5540 100644 --- a/runtime/ftplugin/ruby.vim +++ b/runtime/ftplugin/ruby.vim @@ -1,9 +1,10 @@ " Vim filetype plugin -" Language: Ruby -" Maintainer: Gavin Sinclair <gsinclair at soyabean.com.au> -" Info: $Id$ -" URL: http://vim-ruby.rubyforge.org -" Anon CVS: See above site +" Language: Ruby +" Maintainer: Gavin Sinclair <gsinclair at soyabean.com.au> +" Info: $Id$ +" URL: http://vim-ruby.rubyforge.org +" Anon CVS: See above site +" Release Coordinator: Doug Kearns <dougkearns@gmail.com> " ---------------------------------------------------------------------------- " " Original matchit support thanks to Ned Konz. See his ftplugin/ruby.vim at @@ -51,7 +52,10 @@ setlocal formatoptions-=t formatoptions+=croql setlocal include=^\\s*\\<\\(load\\\|\w*require\\)\\> setlocal includeexpr=substitute(substitute(v:fname,'::','/','g'),'$','.rb','') setlocal suffixesadd=.rb -setlocal omnifunc=rubycomplete#Complete + +if version >= 700 + setlocal omnifunc=rubycomplete#Complete +endif " TODO: "setlocal define=^\\s*def |