From bb21d2f482bc1bfd25b1de72846ce115114c6f27 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 2 Jun 2024 21:06:44 +0200 Subject: prevent terminal from being resized --- lua/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/functions.lua') diff --git a/lua/functions.lua b/lua/functions.lua index 07f8868..ab903b1 100644 --- a/lua/functions.lua +++ b/lua/functions.lua @@ -12,7 +12,7 @@ function table.filter(list, predicate) return filtered_list end -local function set_terminal_height(height) +function set_terminal_height(height) if not vim.api.nvim_win_is_valid(vim.g.term_win) then return end -- cgit v1.2.3-18-g5258