From 6d163b932d348a08bc84a5238ffc5f1075b9e7fa Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 5 Sep 2023 00:32:59 -0500 Subject: [PATCH] refactor(nvim): remove image.nvim --- .../nvim/lua/plugins/configs/neorg.lua | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/neorg.lua b/dots/.config/nvim/lua/plugins/configs/neorg.lua index 0ba7f826..ac452ecd 100644 --- a/dots/.config/nvim/lua/plugins/configs/neorg.lua +++ b/dots/.config/nvim/lua/plugins/configs/neorg.lua @@ -1,23 +1,4 @@ return { - { - "3rd/image.nvim", - build = function() - ---@param out SystemCompleted - vim.system({ "luarocks", "--lua-version", "5.1", "--local", "install", "magick" }, {}, function(out) - if out.code ~= 0 then - error("Failed to install `magick` luarock for image.nvim!", vim.log.levels.ERROR) - end - end) - end, - ft = { "markdown", "norg" }, - config = function() - package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?/init.lua;" - package.path = package.path .. ";" .. vim.fn.expand("$HOME") .. "/.luarocks/share/lua/5.1/?.lua;" - require("image").setup({ - window_overlap_clear_enabled = true, - }) - end, - }, { "nvim-neorg/neorg", build = ":Neorg sync-parsers", -- This is the important bit!