We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bff54 commit 5b30339Copy full SHA for 5b30339
lua/astrocommunity/split-and-window/neominimap-nvim/init.lua
@@ -20,7 +20,10 @@ return {
20
opts = {
21
buf_filter = function(bufnr) return require("astrocore.buffer").is_valid(bufnr) end,
22
},
23
- config = function(_, opts)
+ config = function() end,
24
+ init = function(plugin)
25
+ local opts = plugin.opts
26
+
27
if opts.layout == nil or opts.layout == "float" then
28
local float_width = (vim.tbl_get(opts, "float", "minimap_width") or 20) + 2
29
if vim.opt.sidescrolloff:get() < float_width then vim.opt.sidescrolloff = float_width end
0 commit comments