I have a Rails Rails file that looks something like
require 'spec_helper' describe "Something" do ... end
When I try to use Ctrl + N to autocomplete something in this file, I get:

Text version:
Scanning included file: spec_helper.rb E854: path too long for completion Press ENTER or type command to continue
If I am Ctrl + C , this completes my word perfectly.
To avoid Vim to autocomplete using included files, I can do:
:set complete-=i
But this is not the root of the problem.
How can i fix this?
Goles
source share