Skip to content

Commit

Permalink
Merge pull request #54 from redyf/dev
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
redyf authored Feb 8, 2024
2 parents 572191b + 80c143b commit 507eb46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions config/sets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
8 changes: 2 additions & 6 deletions config/utils/oil.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 507eb46

Please sign in to comment.