diff options
author | rmagillxyz <[email protected]> | 2021-05-14 02:00:22 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-14 02:00:22 -0400 |
commit | e15522278a4c776fb2b5e4bd0228b3ec2f1dbe5d (patch) | |
tree | 5c3beab407cb2f8859e458a37acb0a6ebdc74646 /lua/lv-nvimtree/init.lua | |
parent | d118833913f0511b52d86fa377f97b6bf39b325d (diff) |
Enable netrw (#394)
* enable_netrw: source lv-globals before plugins and add nvim_tree_disable_netrw to lv-globals, otherwise netrw is never enabled.
If netrw is not enabled, netrw-externapp functionality, things like gx and gf to follow http links do not work.
* enable_netrw: add nvim_tree_disable_netrw to the lv-globals O object and set it in settings && source settings before plugins
Diffstat (limited to 'lua/lv-nvimtree/init.lua')
-rw-r--r-- | lua/lv-nvimtree/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lv-nvimtree/init.lua b/lua/lv-nvimtree/init.lua index da513985..638bac5d 100644 --- a/lua/lv-nvimtree/init.lua +++ b/lua/lv-nvimtree/init.lua @@ -13,7 +13,7 @@ let g:nvim_tree_show_icons = { "If 0, do not show the icons for one of 'git' 'folder' and 'files' "1 by default, notice that if 'files' is 1, it will only display "if nvim-web-devicons is installed and on your runtimepath ]] -- vim.g.nvim_tree_ignore = [ '.git', 'node_modules', '.cache' ] "empty by default -vim.g.nvim_tree_disable_netrw = 0 -- "1 by default, disables netrw +-- vim.g.nvim_tree_disable_netrw = 0 -- moved to lv-globals -- vim.g.nvim_tree_hijack_netrw = 0 --"1 by default, prevents netrw from automatically opening when opening directories (but lets you keep its other utilities) vim.g.nvim_tree_hide_dotfiles = 1 -- 0 by default, this option hides files and folders starting with a dot `.` vim.g.nvim_tree_indent_markers = 1 -- "0 by default, this option shows indent markers when folders are open |