nvimtree: Load after nvim-web-devicons when lazy load disabled
this is necessary as nvimtree depends on nvim-web-devicons
follow up commit for a2d91ac
This commit is contained in:
parent
60212005cb
commit
331754a890
@ -205,7 +205,8 @@ return packer.startup(function()
|
|||||||
use {
|
use {
|
||||||
"kyazdani42/nvim-tree.lua",
|
"kyazdani42/nvim-tree.lua",
|
||||||
disable = not plugin_settings.status.nvimtree,
|
disable = not plugin_settings.status.nvimtree,
|
||||||
-- only set cmd if lazy load is enabled
|
-- only set "after" if lazy load is disabled and vice versa for "cmd"
|
||||||
|
after = not plugin_settings.options.nvimtree.lazy_load and "nvim-web-devicons",
|
||||||
cmd = plugin_settings.options.nvimtree.lazy_load and { "NvimTreeToggle", "NvimTreeFocus" },
|
cmd = plugin_settings.options.nvimtree.lazy_load and { "NvimTreeToggle", "NvimTreeFocus" },
|
||||||
config = override_req("nvim_tree", "plugins.configs.nvimtree"),
|
config = override_req("nvim_tree", "plugins.configs.nvimtree"),
|
||||||
setup = function()
|
setup = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user