diff --git a/config/sets.nix b/config/sets.nix index 6180d98b..e64ac12e 100644 --- a/config/sets.nix +++ b/config/sets.nix @@ -103,6 +103,9 @@ # We don't need to see things like INSERT anymore showmode = false; + # Maximum number of items to show in the popup menu (0 means "use available screen space") + pumheight = 0; + }; extraConfigLua = '' diff --git a/config/utils/oil.nix b/config/utils/oil.nix index 3af22fc8..ce3d0c9a 100644 --- a/config/utils/oil.nix +++ b/config/utils/oil.nix @@ -8,12 +8,8 @@ }; float = { padding = 2; - maxWidth.__raw = '' - math.ceil(vim.o.lines * 0.8 - 4) - ''; - maxHeight.__raw = '' - math.ceil(vim.o.columns * 0.8) - ''; + maxWidth = 0; # ''math.ceil(vim.o.lines * 0.8 - 4)''; + maxHeight = 0; # ''math.ceil(vim.o.columns * 0.8)''; border = "rounded"; # 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by win open winOptions = { winblend = 0;