Is it possible to globally set combined completion item limit for ALL sources, + other settings applied to every source? #1160
-
I would like to set a global setting, never more than 15 items shown in the completion popup. This includes all completions combined, added together never more than 15 shown. I have found that limiting suggestions per completion, often leads to too many completions on the screen. I can set 15 limit for each completion item, but 15+15+15... is greater than 15. I would not like to limit each source to say 5 only to solve the issue. Also setting the limit for each source individually, seems to be a bit tedious. I looked around but can't find a better way than what I am face with now, is there one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found the solution I was looking for using this builtin nvim option
|
Beta Was this translation helpful? Give feedback.
I found the solution I was looking for using this builtin nvim option
vim.opt.pumheight = 10 -- limit completion items