I am trying to understand why Ruby omnicompl sometimes works for me.
Here it works as expected.
But when I try to do the same on the same ivar 2 lines, I get "Pattern not found"
Both run the same typing current_user_session.fi @ Ctrl+ X+O
I checked the tpopes rails.vim github page for open / closed problems and tried to do this with no luck.
My macvim and vim compiled with + ruby
:echo &omnifunc returns rubycomplete#Complete
:Rails! returns rails.vim 4.3 (Rails-controller)
I have my full vimdir on github for reference.
source
share