diff options
author | zbirenbaum <zacharyobirenbaum@gmail.com> | 2022-04-25 03:17:29 -0400 |
---|---|---|
committer | zbirenbaum <zacharyobirenbaum@gmail.com> | 2022-04-25 03:17:29 -0400 |
commit | e493ca7eb8425f0fcfa23951a86d2b9d5ef1da0b (patch) | |
tree | cca4db53a2904a8bf542c7e2ec5016c70cc24a35 | |
parent | dramatically simplify setting mappings in setup (diff) |
fix error in mappings
-rw-r--r-- | lua/nvterm/init.lua | 2 |
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 |