From 11953fcf6441ece342ba36ffadbe3a7f28804bb0 Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 25 Aug 2023 05:06:40 +0200 Subject: [PATCH] nvim: improved devicons loading --- .config/nvim/lua/loadplugins.lua | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/loadplugins.lua b/.config/nvim/lua/loadplugins.lua index 238e264..5e80728 100644 --- a/.config/nvim/lua/loadplugins.lua +++ b/.config/nvim/lua/loadplugins.lua @@ -44,7 +44,10 @@ return require("lazy").setup({ { 'nvim-lualine/lualine.nvim', dependencies = { - 'nvim-tree/nvim-web-devicons', + { + 'nvim-tree/nvim-web-devicons', + lazy = true + }, { 'f-person/git-blame.nvim', config = function() @@ -354,7 +357,10 @@ return require("lazy").setup({ "nvim-tree/nvim-tree.lua", cmd = "NvimTreeToggle", dependencies = { - "nvim-tree/nvim-web-devicons", + { + "nvim-tree/nvim-web-devicons", + lazy = true + }, }, opts = { sort_by = "case_sensitive", @@ -500,6 +506,10 @@ return require("lazy").setup({ { 'gelguy/wilder.nvim', dependencies = { + { + "nvim-tree/nvim-web-devicons", + lazy = true + }, 'roxma/nvim-yarp', 'roxma/vim-hug-neovim-rpc', 'romgrk/fzy-lua-native' @@ -610,7 +620,12 @@ return require("lazy").setup({ -- list of errors { 'folke/trouble.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, + dependencies = { + { + 'nvim-tree/nvim-web-devicons', + lazy = true + } + }, opts = {} },