From e493ca7eb8425f0fcfa23951a86d2b9d5ef1da0b Mon Sep 17 00:00:00 2001 From: zbirenbaum Date: Mon, 25 Apr 2022 03:17:29 -0400 Subject: fix error in mappings --- lua/nvterm/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2