File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Setup should be run in a lua file or in a lua heredoc [:help lua-heredoc](https:
59
59
-- examples for your init.lua
60
60
61
61
-- disable netrw at the very start of your init.lua (strongly advised)
62
- vim .g .loaded = 1
62
+ vim .g .loaded_netrw = 1
63
63
vim .g .loaded_netrwPlugin = 1
64
64
65
65
-- empty setup using defaults
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Setup should be run in a lua file or in a |lua-heredoc| if using in a vim file.
66
66
-- examples for your init.lua
67
67
68
68
-- disable netrw at the very start of your init.lua (strongly advised)
69
- vim.g.loaded = 1
69
+ vim.g.loaded_netrw = 1
70
70
vim.g.loaded_netrwPlugin = 1
71
71
72
72
-- empty setup using defaults
@@ -383,7 +383,7 @@ Completely disable netrw
383
383
It is strongly advised to eagerly disable netrw, due to race conditions at vim
384
384
startup.
385
385
Set the following at the very beginning of your `init.lua ` / `init.vim ` : >
386
- vim.g.loaded = 1
386
+ vim.g.loaded_netrw = 1
387
387
vim.g.loaded_netrwPlugin = 1
388
388
<
389
389
*nvim-tree.hijack_netrw*
You can’t perform that action at this time.
0 commit comments