Hyprland-dotfiles/nvim/lua/modules/configs/ui/scrollview.lua
2024-07-21 02:51:17 -04:00

25 lines
666 B
Lua

return function()
local icons = { diagnostics = require("modules.utils.icons").get("diagnostics", true) }
require("modules.utils").load_plugin("scrollview", {
mode = "virtual",
winblend = 0,
signs_on_startup = { "diagnostics", "folds", "marks", "search", "spell" },
diagnostics_error_symbol = icons.diagnostics.Error,
diagnostics_warn_symbol = icons.diagnostics.Warning,
diagnostics_info_symbol = icons.diagnostics.Information,
diagnostics_hint_symbol = icons.diagnostics.Hint,
excluded_filetypes = {
"alpha",
"fugitive",
"git",
"notify",
"NvimTree",
"Outline",
"TelescopePrompt",
"toggleterm",
"undotree",
},
})
end