From 8e4958ef0a26cbc15a95cbe210766f72420180ca Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 4 Jul 2024 11:30:59 -0400 Subject: [PATCH] fix(nvim/toggleterm): temporarily disable unsupported options --- pkgs/nvim/config/utils/toggleterm.nix | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pkgs/nvim/config/utils/toggleterm.nix b/pkgs/nvim/config/utils/toggleterm.nix index 1404c3d..dd7acb5 100644 --- a/pkgs/nvim/config/utils/toggleterm.nix +++ b/pkgs/nvim/config/utils/toggleterm.nix @@ -27,22 +27,22 @@ heightP = "0.9"; in rec { border = "single"; # 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open - width = '' - function() - return math.floor(vim.o.columns * ${widthP}) - end - ''; - height = '' - function() - return math.floor(vim.o.lines * ${heightP}) - end - ''; - row = '' - function() - local heightFn = ${height} - return math.floor((vim.o.lines - heightFn()) / 2) - 1 - end - ''; + # width = '' + # function() + # return math.floor(vim.o.columns * ${widthP}) + # end + # ''; + # height = '' + # function() + # return math.floor(vim.o.lines * ${heightP}) + # end + # ''; + # row = '' + # function() + # local heightFn = ${height} + # return math.floor((vim.o.lines - heightFn()) / 2) - 1 + # end + # ''; winblend = 0; }; winbar = {