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
This commit is contained in:
rmagillxyz 2021-05-14 02:00:22 -04:00 committed by GitHub
parent d118833913
commit e15522278a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,8 @@
require('plugins')
require('lv-globals')
require('settings')
require('plugins')
require('lv-utils')
require('lv-autocommands')
require('settings')
vim.cmd('luafile ~/.config/nvim/lv-settings.lua')
require('keymappings')
require('lv-nvimtree') -- This plugin must be required somewhere before colorscheme. Placing it after will break navigation keymappings