Skip to content

Conversation

glepnir
Copy link
Member

@glepnir glepnir commented Jan 9, 2025

executable is sync version when one of formatter is not executable it will cause nvim block, make executable check async and move to FileType callback we don't need check all when config. just lazied check when need.

@glepnir glepnir requested a review from xiaoshihou514 January 9, 2025 12:28
executable is sync version when one of formatter is
not executable it will cause nvim block, make executable
check async and move to FileType callback we don't need
check all when config. just lazied check when need.
@xiaoshihou514
Copy link
Member

lgtm?

@xiaoshihou514
Copy link
Member

But the tests failed.

@glepnir
Copy link
Member Author

glepnir commented May 16, 2025

I have a simple async/await lib. i guess we can use it to refactor guard ?

ref https://github.com/glepnir/nvim/blob/main/plugin/async.lua

@xiaoshihou514
Copy link
Member

I have a simple async/await lib. i guess we can use it to refactor guard ?

ref https://github.com/glepnir/nvim/blob/main/plugin/async.lua

I think just abstracting async patterns in guard is good enough, in a brief look, I think the library is not 100% guard specific :think:

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