fix nvim: 關閉圖片處理功能

This commit is contained in:
Yuan Chiu 2025-04-29 12:21:46 +08:00
parent 6b8d7b79e3
commit db2699158b
2 changed files with 11 additions and 22 deletions

View File

@ -27,16 +27,17 @@ require("lazy").setup({
hererocks = true, -- recommended if you do not have global installation of Lua 5.1. hererocks = true, -- recommended if you do not have global installation of Lua 5.1.
}, },
spec = { spec = {
{ -- 先關閉此功能目前在neo-tree無法work而且會造成neovide出問題
"3rd/image.nvim", -- {
opts = {}, -- "3rd/image.nvim",
config = function() -- opts = {},
require("image").setup({ -- config = function()
backend = "ueberzug", -- or "ueberzug" -- require("image").setup({
processor = "magick_rock", -- or "magick_rock" -- backend = "ueberzug", -- or "ueberzug"
}) -- processor = "magick_rock", -- or "magick_rock"
end, -- })
}, -- end,
-- },
-- 自動載入 plugins 資料夾中的所有插件 -- 自動載入 plugins 資料夾中的所有插件
{ import = "plugins" }, { import = "plugins" },

View File

@ -1,12 +0,0 @@
return {{
"kjuq/sixelview.nvim",
opts = {
-- a table to specify what files should be viewed by this plugin
pattern = {},
-- whether to show an image automatically when an image buffer is opened
auto = true,
-- time of delay before showing image
-- try setting this duration longer if you have a trouble showing image
delay_ms = 100,
},
}}