fix nvim: scrollbar
This commit is contained in:
parent
5c6e37c287
commit
734967c967
@ -2,18 +2,14 @@
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'dstein64/nvim-scrollview',
|
'dstein64/nvim-scrollview',
|
||||||
setup = function()
|
config = function()
|
||||||
require('scrollview').setup({
|
require('scrollview').setup({
|
||||||
-- Default options
|
current_only = true,
|
||||||
current_only = true, -- Only show scroll indicator in current window
|
-- base = 'buffer',
|
||||||
winblend = 0, -- Blend of the scroll indicator
|
-- column = 80, -- 註解掉這行,讓它自己決定位置
|
||||||
-- base = 1, -- Base value for the scroll indicator
|
-- excluded_filetypes = { 'neo-tree', 'help' },
|
||||||
-- max_lines = 1000, -- Maximum number of lines to show the scroll indicator
|
signs_on_startup = { 'all' },
|
||||||
excluded_filetypes = { 'help', 'neo-tree' }, -- Filetypes to exclude from showing the scroll indicator
|
diagnostics_severities = { vim.diagnostic.severity.ERROR },
|
||||||
base = 'buffer',
|
|
||||||
-- column = 80,
|
|
||||||
signs_on_startup = {'all'},
|
|
||||||
diagnostics_severities = {vim.diagnostic.severity.ERROR}
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user