From a6123a6dd5ee3f7e63077cf72a40a1085cebada1 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 30 May 2024 19:15:41 +0200 Subject: make terminal resizing more robust --- lua/maps/terminal.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/maps/terminal.lua') diff --git a/lua/maps/terminal.lua b/lua/maps/terminal.lua index c3dc804..a1cde60 100644 --- a/lua/maps/terminal.lua +++ b/lua/maps/terminal.lua @@ -1,14 +1,14 @@ vim.api.nvim_set_keymap( "n", "t", - ":lua toggle_terminal(vim.g.terminal_height)", + ":lua toggle_terminal()", {silent = true, noremap = true} ) vim.api.nvim_set_keymap( "t", "t", - ":lua toggle_terminal(vim.g.terminal_height)", + ":lua toggle_terminal()", {silent = true, noremap = true} ) -- cgit v1.2.3-18-g5258