Skip to content

Commit f8bb6b4

Browse files
authored
feat(#1974): enable experimental.git.async by default, see #2104 (#2158)
1 parent 0db85a7 commit f8bb6b4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/nvim-tree-lua.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ applying configuration.
436436
},
437437
experimental = {
438438
git = {
439-
async = false,
439+
async = true,
440440
},
441441
},
442442
log = {
@@ -1206,13 +1206,14 @@ General UI configuration.
12061206

12071207
*nvim-tree.experimental*
12081208
Experimental features that may become default or optional functionality.
1209+
In the event of a problem please disable the experiment and raise an issue.
12091210

12101211
*nvim-tree.experimental.git.async*
12111212
Direct file writes and `.git/` writes are executed asynchronously: the
12121213
git process runs in the background. The tree updates on completion.
12131214
Other git actions such as first tree draw and explicit refreshes are still
12141215
done in the foreground.
1215-
Type: `boolean`, Default: `false`
1216+
Type: `boolean`, Default: `true`
12161217

12171218
*nvim-tree.log*
12181219
Configuration for diagnostic logging.

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
561561
},
562562
experimental = {
563563
git = {
564-
async = false,
564+
async = true,
565565
},
566566
},
567567
log = {

0 commit comments

Comments
 (0)