feat(cmp): add missing documentation to snippets when needed

This commit is contained in:
Folke Lemaitre
2024-05-19 21:47:42 +02:00
parent 39f3ebcadf
commit 24a2a9fb0b
2 changed files with 23 additions and 0 deletions

View File

@ -89,6 +89,9 @@ return {
LazyVim.cmp.auto_brackets(event.entry)
end
end)
cmp.event:on("menu_opened", function(event)
LazyVim.cmp.add_missing_snippet_docs(event.window)
end)
end,
},