# Vim 7 omni-completion function

**URL:** <https://www.ruby-forum.com/t/vim-7-omni-completion-function/57457>\
**Category:** Ruby\
**Created:** [April 11, 2006, 7:05am UTC](https://www.ruby-forum.com/t/vim-7-omni-completion-function/57457 "2006-04-11T07:05:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bowenmark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/dc4da7/32.png) [@bowenmark](https://www.ruby-forum.com/u/bowenmark)\
**Post date:** [April 11, 2006, 7:05am UTC](https://www.ruby-forum.com/t/vim-7-omni-completion-function/57457/1 "2006-04-11T07:05:36Z")

</div>

Hi all,  
I’ve hacked away at complete.rb and some of the existing vim7  
omni-completion functions to create a ruby completion function. It  
“works for me”, any input is welcome. As a note, it will attempt to load  
any modules required by the current buffer when attempting to complete.  
You can find the link here:  
[http://blog.hasno.info/blog/segfault/dev/2006/04/10/vim-7-ruby-omni-completion.html](http://blog.hasno.info/blog/segfault/dev/2006/04/10/vim-7-ruby-omni-completion.html)  
–mark

---

<div class="post-metadata">

**Author:** ![bowenmark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/dc4da7/32.png) [@bowenmark](https://www.ruby-forum.com/u/bowenmark)\
**Post date:** [April 11, 2006, 1:29pm UTC](https://www.ruby-forum.com/t/vim-7-omni-completion-function/57457/2 "2006-04-11T13:29:05Z")

</div>

> > > sender: “Mark G.” date: “Tue, Apr 11, 2006 at 02:02:47PM +0900” \<\<\<EOQ  
> > > Hi all,  
> > > I’ve hacked away at complete.rb and some of the existing vim7  
> > > omni-completion functions to create a ruby completion function. It  
> > > “works for me”, any input is welcome. As a note, it will attempt to load  
> > > any modules required by the current buffer when attempting to complete.  
> > > You can find the link here:  
> > > [http://blog.hasno.info/blog/segfault/dev/2006/04/10/vim-7-ruby-omni-completion.html](http://blog.hasno.info/blog/segfault/dev/2006/04/10/vim-7-ruby-omni-completion.html)  
> > > –mark  
> > > Hi,

That looks awesome!!! Great job! 🙂 I’ve been waiting for something like  
this  
for vim… And it’s particularily useful for someone who is just  
learning  
Ruby, like me 🙂

Thank you!

Sincerely,  
Alex
