mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
18 lines
365 B
Lua
18 lines
365 B
Lua
local M = {}
|
|
|
|
local defaults = {
|
|
position = 'right', -- options: top, left, right, bottom
|
|
width = 80, -- width of window when position is left or right
|
|
height = 10, -- height of window when position is top or bottom
|
|
}
|
|
|
|
M.options = {}
|
|
|
|
M.setup = function(options)
|
|
M.options = vim.tbl_deep_extend("force", {}, defaults, options or {})
|
|
end
|
|
|
|
M.setup()
|
|
|
|
return M
|