Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gf command fails to navigate to files with parent directory #9451

Closed
wants to merge 2 commits into from

Conversation

ekinakkaya
Copy link

What this PR does / why we need it
This PR fixes the gf command so that it correctly resolves parent directory (../) references. Previously, gf failed to navigate to files outside the current directory.

Which issue(s) this PR fixes
Fixes #9439

Special notes for your reviewer

  • I couldn't succesfully execute the build-test command. Here is the output. Maybe this just happens on my machine, but I could not fix it.:
PS C:\Users\ekin_\projeler\Vim> npm run build-test

> [email protected] build-test
> gulp prepare-test

[15:33:33] Using gulpfile ~\projeler\Vim\gulpfile.js
[15:33:33] Starting 'prepare-test'...
[15:33:33] Starting 'tsc'...
[15:33:33] Starting 'copyPackageJson'...
C:/Users/ekin_/projeler/Vim/node_modules/@types/glob/index.d.ts(29,42): error TS2694: Namespace '"C:/Users/ekin_/projeler/Vim/node_modules/minimatch/dist/commonjs/index"' has no exported member 'IOptions'.
C:/Users/ekin_/projeler/Vim/node_modules/@types/glob/index.d.ts(75,30): error TS2724: '"C:/Users/ekin_/projeler/Vim/node_modules/minimatch/dist/commonjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?
TypeScript: 2 semantic errors
TypeScript: emit failed
[15:33:42] The following tasks did not complete: prepare-test, tsc, copyPackageJson
Did you forget to signal async completion?

@ekinakkaya ekinakkaya closed this Jan 21, 2025
@ekinakkaya ekinakkaya deleted the fix-gf-parent-dir branch January 21, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The gf command fails to navigate to files with parent directory references
1 participant