refactor nvim: 調整 scrollbar.lua

This commit is contained in:
Yuan Chiu 2025-05-31 12:58:38 +08:00
parent 37292668f4
commit 363bf9ce3d
Signed by: yuan
GPG Key ID: 50FBE4156404B98D

View File

@ -1,20 +1,21 @@
-- if true then return {} end -- 先停用
return {
{
'dstein64/nvim-scrollview',
config = function()
require('scrollview').setup({
opts = {
current_only = true,
-- base = 'buffer',
-- column = 80, -- 註解掉這行,讓它自己決定位置
-- excluded_filetypes = { 'neo-tree', 'help' },
signs_on_startup = { 'all' },
diagnostics_severities = { vim.diagnostic.severity.ERROR },
})
},
config = function(_, opts)
require('scrollview').setup(opts)
end,
}
},
-- return {
-- { "petertriho/nvim-scrollbar",
-- cond = true,
-- config = function()
@ -168,4 +169,4 @@ return {
-- })
-- end
-- },
-- }
}