docs: add nvim-tree-netrw (#2222)

* docs: add nvim-tree-netrw

* docs: add nvim-tree-netrw
This commit is contained in:
Alexander Courtis
2023-05-24 12:09:23 +10:00
committed by GitHub
parent b1e074d2b5
commit 9ef6c3cd88
2 changed files with 29 additions and 3 deletions

View File

@@ -46,10 +46,12 @@ Please install via your preferred package manager. See [Installation](https://gi
## Quick Start
Disabling [netrw](https://neovim.io/doc/user/pi_netrw.html) is strongly advised, see [:help nvim-tree-netrw](doc/nvim-tree-lua.txt)
Setup the plugin in your `init.lua`
```lua
-- disable netrw at the very start of your init.lua (strongly advised)
-- disable netrw at the very start of your init.lua
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1