runner.nvim/lua/runner/config.lua
2023-04-05 13:28:57 +03:00

18 lines
366 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