-
No matter how much I use Does nvim-cmp have a way to put most frequently used items at the top automatically based on usage frequency? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
vdegenne
Dec 7, 2024
Replies: 1 comment
-
Never mind, I found out: {
name = "nvim_lsp",
entry_filter = function(entry, _)
local kind = require("cmp.types").lsp.CompletionItemKind[entry:get_kind()]
return kind ~= "Keyword"
end,
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vdegenne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind, I found out: