forked from ayamir/nvimdots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(lualine): more efficient
has_git
checks (ayamir#838)
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.
- Loading branch information
1 parent
1aa3b86
commit 959908e
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters