From: Mark Guzman Date: 2006-04-21T09:56:42+09:00 Subject: Re: vim 7 ruby omni-complete 0.4 Reid Thompson wrote: > Minkoo Seo wrote: >> Hi. >> >> I've installed vim7.0e and rubycomplete.rb. In GVIM on Windows XP, >> everything seemed to be good. Unfortunately, however, it raises the >> following error when I press ^X, ^O: >> >> Error detected while processing function rubycomplete#Complete: >> line 21: >> NameError: (eval):143:in `get_completions': (eval):1:in >> `get_completions': uninitialized constant Foo >> >> > make sure that the downloaded files do not have CRLF line endings > I updated the newer files on my site to use unix line endings (I hope). Minkoo, I'd like to know what version of ruby are you linked against? I'm guessing that the class definition loader code is failing to find and load Foo, so when it attempts to fully complete it... Well you've seen what happens. I'll check it out on my linux desktop box and see if I can't replicate the problem. --mark -- sic transit gloria et adulescentia blog | http://blog.hasno.info/blog wiki | http://wiki.hasno.info