Skip to content

Conversation

@Jint-lzxy
Copy link
Collaborator

This works b/c finddir() searches bidirectionally (downward searches are recursive and may search through many directories).

This commit instructs fs.find to only traverse upward through parent directories and terminate as long as a match is found.

This works b/c `finddir()` searches bidirectionally _(downward
searches are recursive and may search through many directories)_.

This commit instructs `fs.find` to only traverse upward through parent
directories and terminate as long as a matche is found.
@Jint-lzxy Jint-lzxy requested a review from ayamir July 6, 2023 05:10
Copy link
Owner

@ayamir ayamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ayamir ayamir merged commit 8b02542 into ayamir:main Jul 6, 2023
@Jint-lzxy Jint-lzxy deleted the fix/lualine-check_git branch July 6, 2023 07:26
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this pull request Jul 7, 2023
This works b/c `finddir()` searches bidirectionally _(downward
searches are recursive and may search through many directories)_.

This commit instructs `fs.find` to only traverse upward through parent
directories and terminate as long as a matche is found.
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.

2 participants