* async git watcher reload; callback hell for now

* async git watcher reload; revert unnecessary extractions

* async git watcher reload; callback and non-callback functions are required for sync codepaths that loop

* async git watcher reload

* async git watcher reload

* feat(#1974): experimental.git.async

* feat(#1974): experimental.git.async
This commit is contained in:
Alexander Courtis
2023-04-03 16:20:52 +10:00
committed by GitHub
parent 7ad1c204c4
commit 0ef3d4613f
6 changed files with 173 additions and 73 deletions

View File

@@ -438,6 +438,11 @@ applying configuration.
trash = true,
},
},
experimental = {
git = {
async = false,
},
},
log = {
enable = false,
truncate = false,
@@ -1224,6 +1229,16 @@ General UI configuration.
Prompt before trashing.
Type: `boolean`, Default: `true`
*nvim-tree.experimental*
Experimental features that may become default or optional functionality.
*nvim-tree.experimental.git.async*
Direct file writes and `.git/` writes are executed asynchronously: the
git process runs in the background. The tree updates on completion.
Other git actions such as first tree draw and explicit refreshes are still
done in the foreground.
Type: `boolean`, Default: `false`
*nvim-tree.log*
Configuration for diagnostic logging.