refactor nvim: 調整 scrollbar.lua
This commit is contained in:
parent
37292668f4
commit
363bf9ce3d
@ -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
|
||||
-- },
|
||||
-- }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user