I am using
vim for coding. When I have something like the following:
SomeModule->actualMethod() if I take the cursor to
SomeModule and I do a
gf I get a complaint that
SomeModule- does not exist in the path.
How can I get rid of the
- so that the
SomeModule file opens?
What Vim considers part of a filename is controlled by the
'isfname' option. You need to remove the dash from it for your example to work:
Note that when your
SomeModule file has a file extension, you also need to add it to