return { { -- TODO: switch for a better plugin, some chars are not customizable and -- don't render correctly (unicode ? signs) "echasnovski/mini.map", keys = { { "mn", "lua MiniMap.toggle()", desc = "Mini map" }, }, opts = function() local minimap = require("mini.map") return { integrations = { minimap.gen_integration.diagnostic(), minimap.gen_integration.builtin_search(), minimap.gen_integration.gitsigns(), }, symbols = { -- Encode symbols. See `:h MiniMap.config` for specification and -- `:h MiniMap.gen_encode_symbols` for pre-built ones. -- Default: solid blocks with 3x2 resolution. encode = nil, -- Scrollbar parts for view and line. Use empty string to disable any. scroll_line = "█", scroll_view = "┃", }, -- Window options window = { -- Whether window is focusable in normal way (with `wincmd` or mouse) focusable = true, -- Side to stick ('left' or 'right') side = "right", -- Whether to show count of multiple integration highlights show_integration_count = true, -- Total width width = 10, -- Value of 'winblend' option winblend = 25, -- Z-index zindex = 10, }, } end, }, }