aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/nvterm/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvterm/init.lua b/lua/nvterm/init.lua
index 47596cb..e89b04e 100644
--- a/lua/nvterm/init.lua
+++ b/lua/nvterm/init.lua
@@ -63,7 +63,7 @@ end
M.setup = function (config)
config = config and vim.tbl_deep_extend("force", defaults, config) or defaults
local types = {'horizontal', 'vertical', 'float'}
- for _, type in ipairs(types) do
+ for _, type in pairs(types) do
if config[type] then
config.terminals.type_opts[type] = vim.tbl_deep_extend("force", config.terminals.type_opts[type], config[type])
config[type] = nil