From 6962a4d629432ef8cacaa7905857892624dc5fed Mon Sep 17 00:00:00 2001 From: Nydragon <6582485n@proton.me> Date: Mon, 13 Feb 2023 15:47:18 +0100 Subject: [PATCH] add image rendering --- nvim/lua/plugins.lua | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 5c4efad..e33e407 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -40,18 +40,26 @@ return require('packer').startup(function(use) use "EdenEast/nightfox.nvim" - use "lukas-reineke/virt-column.nvim" + use "lukas-reineke/virt-column.nvim" - use({ + use { "hrsh7th/nvim-cmp", requires = { "hrsh7th/cmp-buffer", "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-cmdline", "hrsh7th/cmp-path", "hrsh7th/cmp-nvim-lua", - "onsails/lspkind-nvim", } - }) + } + + use { + 'samodostal/image.nvim', + requires = { + 'nvim-lua/plenary.nvim', + 'm00qek/baleia.nvim' + }, + } vim.cmd([[ augroup packer_user_config @@ -64,9 +72,11 @@ return require('packer').startup(function(use) require('nightfox-config') require('nvim-lsp-config') require('nvim-tree-config') + require('nvim-cmp-config') + require('image-config') require('lualine').setup() require("virt-column").setup() - require('nvim-cmp-config') + if packer_bootstrap then require('packer').sync() end