diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-10-05 03:45:22 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-10-05 03:45:22 +0900 |
| commit | 38b422f7f6ca71fde32993044a2e46a584731183 (patch) | |
| tree | 80e5f087c5066d0a5c5c7f71f4685f2e2c9b3d10 /mac | |
| parent | 6eb58db552c19bf43d7be8294689753a6d181b29 (diff) | |
modified tmux/tmux.conf, modified plugins/markdown.lua
Diffstat (limited to 'mac')
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua index de16ca6..0b01741 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua +++ b/mac/.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() @@ -351,12 +338,12 @@ return { { "benlubas/image-save.nvim", cmd = "SaveImage" }, { "3rd/image.nvim", - build = build, + build = false, 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 = "kitty", -- "ueberzug" or "kitty", whatever backend you would like to use + processor = "magick_cli", -- "magick_rock" or "magick_cli" integrations = { markdown = { enabled = true, |
