chore: leave netrw enabled by default but still hijack it

This commit is contained in:
kiyan 2022-02-16 20:43:41 +01:00
parent 5a6fd49ee5
commit bf697d782d
3 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ highlight NvimTreeFolderIcon guibg=blue
-- following options are the default
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
require'nvim-tree'.setup {
disable_netrw = true,
disable_netrw = false,
hijack_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},

View File

@ -71,7 +71,7 @@ function.
>
require'nvim-tree'.setup {
disable_netrw = true,
disable_netrw = false,
hijack_netrw = true,
open_on_setup = false,
ignore_ft_on_setup = {},
@ -147,7 +147,7 @@ Here is a list of the options available in the setup call:
*nvim-tree.disable_netrw*
- |disable_netrw|: completely disable netrw
type: `boolean`
default: `true`
default: `false`
*nvim-tree.hijack_netrw*
- |hijack_netrw|: hijack netrw windows (overriden if |disable_netrw| is `true`)

View File

@ -273,7 +273,7 @@ local function setup_autocommands(opts)
end
local DEFAULT_OPTS = {
disable_netrw = true,
disable_netrw = false,
hijack_netrw = true,
open_on_setup = false,
open_on_tab = false,