diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-02 21:06:44 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-02 21:06:44 +0200 |
commit | bb21d2f482bc1bfd25b1de72846ce115114c6f27 (patch) | |
tree | 7cf9b199534a54a213bbb980023717f1159fa81e /lua/functions.lua | |
parent | 0d380e8916a7ddf89193a76bd711ae1661ae9b44 (diff) |
prevent terminal from being resized
Diffstat (limited to 'lua/functions.lua')
-rw-r--r-- | lua/functions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |