diff options
Diffstat (limited to 'ar/.config')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua index a47db5a..3aa19b5 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua @@ -1,16 +1,3 @@ -local sysname = vim.loop.os_uname().sysname -local backend, build, processor - -if sysname == "Darwin" then - backend = "kitty" - processor = "magick_cli" - build = false -else - backend = "ueberzug" - processor = "magick_rock" - build = true -end - -- Select the current cell local function select_cell() local bufnr = vim.api.nvim_get_current_buf() @@ -355,8 +342,8 @@ return { dependencies = { "leafo/magick", "vhyrro/luarocks.nvim" }, config = function() require("image").setup({ - backend = backend, -- "ueberzug" or "kitty", whatever backend you would like to use - processor = processor, -- "magick_rock" or "magick_cli" + backend = "ueberzug", -- "ueberzug" or "kitty", whatever backend you would like to use + processor = "magick_rock", -- "magick_rock" or "magick_cli" integrations = { markdown = { enabled = true, |
