ruby omni completion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ruby omni completion

tjanousek
This post has NOT been accepted by the mailing list yet.
Hello,

if I press Ctrl-X Ctrl-O, I get message

NoMethodError: undefined method `line_number' for 15:Fixnum

My configuration
- Windows XP
- vim 7.3.46
- ruby 1.9.3p0

My _vimrc:

autocmd FileType ruby set omnifunc=rubycomplete#Complete
set completeopt="menu,menuone,preview,longest"
autocmd FileType ruby let g:rubycomplete_buffer_loading=1
autocmd FileType ruby let g:rubycomplete_classes_in_global=1
autocmd FileType ruby let g:rubycomplete_rails=1


Thaks for reply
Loading...