Skip to content

Conversation

Danthewaann
Copy link
Contributor

Describe what this PR does / why we need it

This PR fixes an issue that was accidentally introduced in #538 where the BufEnter autocmd broke the existing go to file functionality via gf. We should only setup this autocmd if the use_local_fs option is set to true, as this autocmd was intended to be used only if that option was enabled.

Describe how you did it

Did a bit manual git bisecting to find the commit that introduced the problem.

Describe how to verify it

Open up a review for a PR and do gf to go the the file. If use_local_fs is enabled then gf won't work, but I think that might be the point.

Special notes for reviews

Checklist

  • Passing tests and linting standards
  • Documentation updates in README.md and doc/octo.txt

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.

1 participant