Skip to content

Commit

Permalink
fix(nvim): completion popups did not take up all space
Browse files Browse the repository at this point in the history
Maybe can remove this if hrsh7th/nvim-cmp#1859
gets merged.
  • Loading branch information
mikavilpas committed Apr 7, 2024
1 parent 21a5d2d commit b72656b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .config/nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,19 @@ return {
}),
},
}
return vim.tbl_deep_extend("keep", new_options, opts)
local final_options = vim.tbl_deep_extend("keep", new_options, {
window = {
completion = {
-- use all available space
max_height = 0,
},
documentation = {
-- use all available space
max_height = 0,
},
},
}, opts)
return final_options
end,
},
},
Expand Down

0 comments on commit b72656b

Please sign in to comment.