Skip to content

Commit

Permalink
feat(config): default to pumheight as max height of menu
Browse files Browse the repository at this point in the history
fixes #125
  • Loading branch information
max397574 committed Nov 4, 2024
1 parent dd4cdf8 commit dd11530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/care/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config.options = {}
config.defaults = {
ui = {
menu = {
max_height = 10,
max_height = vim.o.pumheight ~= 0 and vim.o.pumheight or 10,
border = "rounded",
position = "auto",
format_entry = function(entry, data)
Expand Down

0 comments on commit dd11530

Please sign in to comment.