feat(#1974): enable experimental.git.async by default, see https://github.com/nvim-tree/nvim-tree.lua/issues/2104 (#2158)

This commit is contained in:
Alexander Courtis 2023-04-22 13:22:30 +10:00 committed by GitHub
parent 0db85a7024
commit f8bb6b4c76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -436,7 +436,7 @@ applying configuration.
}, },
experimental = { experimental = {
git = { git = {
async = false, async = true,
}, },
}, },
log = { log = {
@ -1206,13 +1206,14 @@ General UI configuration.
*nvim-tree.experimental* *nvim-tree.experimental*
Experimental features that may become default or optional functionality. Experimental features that may become default or optional functionality.
In the event of a problem please disable the experiment and raise an issue.
*nvim-tree.experimental.git.async* *nvim-tree.experimental.git.async*
Direct file writes and `.git/` writes are executed asynchronously: the Direct file writes and `.git/` writes are executed asynchronously: the
git process runs in the background. The tree updates on completion. git process runs in the background. The tree updates on completion.
Other git actions such as first tree draw and explicit refreshes are still Other git actions such as first tree draw and explicit refreshes are still
done in the foreground. done in the foreground.
Type: `boolean`, Default: `false` Type: `boolean`, Default: `true`
*nvim-tree.log* *nvim-tree.log*
Configuration for diagnostic logging. Configuration for diagnostic logging.

View File

@ -561,7 +561,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
}, },
experimental = { experimental = {
git = { git = {
async = false, async = true,
}, },
}, },
log = { log = {